Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 195.5 kB / 16.53 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.268, allocations: 46.63 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002903/0.2709, allocations: 1.817 MB / 327.1 MB, free: 456 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2722, allocations: 0.6625 MB / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2723, allocations: 3.219 kB / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2725, allocations: 28.8 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.2726, allocations: 35.38 kB / 327.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.2729, allocations: 81.59 kB / 327.9 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2732, allocations: 171 kB / 328.1 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2734, allocations: 73.53 kB / 328.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2735, allocations: 77.89 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2737, allocations: 83.14 kB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.2738, allocations: 14.94 kB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.883e-05/0.2739, allocations: 25.05 kB / 328.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.2739, allocations: 43.25 kB / 328.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2741, allocations: 90.42 kB / 328.5 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.2743, allocations: 188.5 kB / 328.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2744, allocations: 4 kB / 328.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2744, allocations: 0 / 328.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.2744, allocations: 0 / 328.7 MB, free: 15.3 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009762/0.2754, allocations: 0.4965 MB / 329.2 MB, free: 14.83 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2754, allocations: 9.531 kB / 329.2 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.2755, allocations: 24.09 kB / 329.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2758, allocations: 245.2 kB / 329.4 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.2758, allocations: 15.03 kB / 329.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.2759, allocations: 16.38 kB / 329.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.2763, allocations: 216.7 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2763, allocations: 0 / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.2763, allocations: 5.5 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.2763, allocations: 6.562 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.2767, allocations: 149 kB / 329.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.2778, allocations: 0.7873 MB / 330.6 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.2785, allocations: 192.1 kB / 330.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2787, allocations: 68.52 kB / 330.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.2787, allocations: 6.828 kB / 330.9 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.279, allocations: 147.7 kB / 331 MB, free: 13.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.279, allocations: 0 / 331 MB, free: 13.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005976/0.2796, allocations: 255.8 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2797, allocations: 80.23 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2799, allocations: 221.2 kB / 331.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.28, allocations: 27.89 kB / 331.6 MB, free: 12.91 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.2801, allocations: 147.4 kB / 331.8 MB, free: 12.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.2801, allocations: 30.09 kB / 331.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.2802, allocations: 59.38 kB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2803, allocations: 332.5 kB / 332.2 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2805, allocations: 64.86 kB / 332.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2807, allocations: 138.3 kB / 332.4 MB, free: 12.23 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.281, allocations: 215.3 kB / 332.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2811, allocations: 1.125 kB / 332.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000462/0.2815, allocations: 249.6 kB / 332.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2816, allocations: 6.438 kB / 332.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2816, allocations: 2.594 kB / 332.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2816, allocations: 3.312 kB / 332.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.2818, allocations: 40 kB / 332.9 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.2818, allocations: 11.39 kB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.282, allocations: 37.23 kB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.282, allocations: 15.47 kB / 332.9 MB, free: 11.88 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.2822, allocations: 149.8 kB / 333.1 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.2822, allocations: 16.44 kB / 333.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.2825, allocations: 130.3 kB / 333.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2825, allocations: 1.406 kB / 333.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2825, allocations: 4 kB / 333.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.2825, allocations: 3.984 kB / 333.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.2831, allocations: 486.6 kB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2831, allocations: 0 / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2833, allocations: 19.92 kB / 333.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2833, allocations: 4 kB / 333.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2833, allocations: 0 / 333.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2833, allocations: 3.938 kB / 333.7 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2833, allocations: 7.984 kB / 333.7 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.2837, allocations: 284.2 kB / 334 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2838, allocations: 96.86 kB / 334.1 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.2838, allocations: 4 kB / 334.1 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.284, allocations: 23.91 kB / 334.1 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.2841, allocations: 19.92 kB / 334.2 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.2841, allocations: 7.984 kB / 334.2 MB, free: 10.61 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.2842, allocations: 152.4 kB / 334.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2842, allocations: 0 / 334.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.2845, allocations: 43.91 kB / 334.4 MB, free: 10.42 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.2847, allocations: 111.2 kB / 334.5 MB, free: 10.3 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.2851, allocations: 180.2 kB / 334.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2852, allocations: 0 / 334.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2853, allocations: 79.89 kB / 334.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.2857, allocations: 28.56 kB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.2865, allocations: 366 kB / 335.1 MB, free: 9.633 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2868, allocations: 0.728 MB / 335.8 MB, free: 8.879 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.2869, allocations: 45.45 kB / 335.9 MB, free: 8.836 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.287, allocations: 23.42 kB / 335.9 MB, free: 8.812 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.287, allocations: 4 kB / 335.9 MB, free: 8.809 MB / 270.1 MB Notification: Performance of Templates: time 0.006711/0.2937, allocations: 2.079 MB / 338 MB, free: 6.73 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1)