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.0009605/0.0009605, allocations: 164 kB / 12.72 MB, free: 2.59 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.249/1.249, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001614/0.001614, allocations: 103.6 kB / 223.2 MB, free: 4.102 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.047e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07402/0.07407, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.3246, allocations: 67.61 MB / 375.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.3248, allocations: 65.34 kB / 375.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008021/0.3329, allocations: 2.781 MB / 378.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3329, allocations: 0 / 378.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.3329, allocations: 7.938 kB / 378.1 MB, free: 6.207 MB / 266.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.0007377/0.3337, allocations: 484.1 kB / 378.6 MB, free: 5.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3337, allocations: 8.031 kB / 378.6 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.3338, allocations: 23.72 kB / 378.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3341, allocations: 239.2 kB / 378.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3341, allocations: 11.94 kB / 378.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.3342, allocations: 11.94 kB / 378.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.3345, allocations: 207.2 kB / 379 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3345, allocations: 0 / 379 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.3346, allocations: 7.812 kB / 379 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3346, allocations: 4 kB / 379.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.3348, allocations: 118.4 kB / 379.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.3359, allocations: 0.8058 MB / 380 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.3364, allocations: 193 kB / 380.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.3365, allocations: 47.97 kB / 380.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.3366, allocations: 7.984 kB / 380.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3368, allocations: 134 kB / 380.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3368, allocations: 3.938 kB / 380.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003196/0.3371, allocations: 168 kB / 380.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.3372, allocations: 81.11 kB / 380.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3374, allocations: 200.5 kB / 380.8 MB, free: 3.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3374, allocations: 29.58 kB / 380.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.3375, allocations: 145.2 kB / 381 MB, free: 3.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3376, allocations: 30.05 kB / 381 MB, free: 3.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.3376, allocations: 7.562 kB / 381 MB, free: 3.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3377, allocations: 326.6 kB / 381.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.936e-05/0.3378, allocations: 51.73 kB / 381.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.338, allocations: 126.7 kB / 381.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3381, allocations: 79.95 kB / 381.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3381, allocations: 7.953 kB / 381.6 MB, free: 2.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003433/0.3385, allocations: 224.5 kB / 381.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3385, allocations: 4 kB / 381.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3385, allocations: 4 kB / 381.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3385, allocations: 4 kB / 381.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3387, allocations: 39.67 kB / 381.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3387, allocations: 8.234 kB / 381.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3389, allocations: 43.02 kB / 381.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.3389, allocations: 8 kB / 381.9 MB, free: 2.555 MB / 266.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 () * 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.0001003/0.3391, allocations: 126.3 kB / 382 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.3391, allocations: 19.77 kB / 382 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.3393, allocations: 135 kB / 382.2 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3393, allocations: 4 kB / 382.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3393, allocations: 0 / 382.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3394, allocations: 0 / 382.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.3399, allocations: 485.5 kB / 382.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3399, allocations: 0 / 382.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3401, allocations: 23.98 kB / 382.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3401, allocations: 0 / 382.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3401, allocations: 7.984 kB / 382.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3401, allocations: 3.938 kB / 382.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3401, allocations: 0 / 382.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.3404, allocations: 277.7 kB / 383 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/0.3405, allocations: 112.3 kB / 383.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3406, allocations: 4 kB / 383.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3407, allocations: 27.28 kB / 383.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.3408, allocations: 19.66 kB / 383.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3408, allocations: 8.047 kB / 383.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.341, allocations: 147.7 kB / 383.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.341, allocations: 0 / 383.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.3413, allocations: 54.39 kB / 383.3 MB, free: 1.172 MB / 266.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) * 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.0001601/0.3414, allocations: 110.6 kB / 383.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.3417, allocations: 154 kB / 383.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3417, allocations: 0 / 383.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3418, allocations: 68.61 kB / 383.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3421, allocations: 34.28 kB / 383.7 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.3426, allocations: 249.7 kB / 383.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.3429, allocations: 0.7404 MB / 384.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.343, allocations: 33.52 kB / 384.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.3431, allocations: 19.44 kB / 384.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3431, allocations: 0 / 384.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of Templates: time 0.004216/0.3473, allocations: 1.799 MB / 386.5 MB, free: 14.02 MB / 282.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)