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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.01084/0.01084, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.472/1.472, allocations: 170.8 MB / 186.6 MB, free: 0.9766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001566/0.001566, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.000327, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09223/0.3323, allocations: 67.7 MB / 380.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.3326, allocations: 67.97 kB / 380.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008439/0.3411, allocations: 2.793 MB / 383.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3411, allocations: 0 / 383.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.3412, allocations: 11.92 kB / 383.4 MB, free: 3.961 MB / 282.7 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.0008504/0.342, allocations: 0.4887 MB / 383.9 MB, free: 3.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.3421, allocations: 8.031 kB / 383.9 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.3422, allocations: 23.72 kB / 384 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.3425, allocations: 243.4 kB / 384.2 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.3426, allocations: 12 kB / 384.2 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.3426, allocations: 15.94 kB / 384.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.3431, allocations: 217.6 kB / 384.4 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3431, allocations: 0 / 384.4 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.3431, allocations: 11.98 kB / 384.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.3432, allocations: 4 kB / 384.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.3435, allocations: 151.8 kB / 384.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3447, allocations: 0.7952 MB / 385.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.3453, allocations: 210.6 kB / 385.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.3454, allocations: 7.984 kB / 385.6 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.3457, allocations: 149 kB / 385.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3457, allocations: 0 / 385.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.000645/0.3463, allocations: 253.2 kB / 386 MB, free: 1.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.3464, allocations: 81.11 kB / 386.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3466, allocations: 206.2 kB / 386.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.3466, allocations: 25.7 kB / 386.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3468, allocations: 148 kB / 386.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.3468, allocations: 39.48 kB / 386.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.3468, allocations: 4 kB / 386.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.347, allocations: 330.8 kB / 386.8 MB, free: 344 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3471, allocations: 71.95 kB / 386.9 MB, free: 272 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.3473, allocations: 138.6 kB / 387 MB, free: 104 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3475, allocations: 87.66 kB / 387.1 MB, free: 20 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3475, allocations: 0 / 387.1 MB, free: 20 kB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000466/0.348, allocations: 261.1 kB / 387.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.348, allocations: 8.375 kB / 387.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.348, allocations: 0 / 387.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3481, allocations: 4 kB / 387.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3483, allocations: 48.16 kB / 387.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.3483, allocations: 15.86 kB / 387.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.3485, allocations: 31.83 kB / 387.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3485, allocations: 15.98 kB / 387.5 MB, free: 15.64 MB / 298.7 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 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,multiSwitch1.expr[1],multiSwitch1.expr[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.3487, allocations: 136.1 kB / 387.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.3487, allocations: 35.66 kB / 387.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.349, allocations: 127 kB / 387.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3491, allocations: 4 kB / 387.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3491, allocations: 0 / 387.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3491, allocations: 0 / 387.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.3498, allocations: 482.3 kB / 388.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3498, allocations: 4 kB / 388.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3499, allocations: 23.98 kB / 388.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3499, allocations: 0 / 388.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3499, allocations: 3.984 kB / 388.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.35, allocations: 4 kB / 388.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.35, allocations: 0 / 388.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.3505, allocations: 316.7 kB / 388.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3506, allocations: 100.9 kB / 388.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3506, allocations: 7.984 kB / 388.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3508, allocations: 23.98 kB / 388.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.3509, allocations: 19.97 kB / 388.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3509, allocations: 11.98 kB / 388.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3511, allocations: 148.6 kB / 388.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3511, allocations: 0 / 388.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.3514, allocations: 47.91 kB / 389 MB, free: 14.06 MB / 298.7 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.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/0.3516, allocations: 119.6 kB / 389.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.352, allocations: 179.8 kB / 389.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.352, allocations: 192 / 389.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3522, allocations: 84.33 kB / 389.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3525, allocations: 34.12 kB / 389.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.3533, allocations: 399.6 kB / 389.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.3536, allocations: 0.7403 MB / 390.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3537, allocations: 37.5 kB / 390.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.3538, allocations: 19.44 kB / 390.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3538, allocations: 4 kB / 390.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of Templates: time 0.0059/0.3597, allocations: 1.78 MB / 392.3 MB, free: 10.64 MB / 298.7 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)