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.001578/0.001578, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.418/1.418, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001656/0.001656, allocations: 103.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.566e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07106/0.07109, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.3145, allocations: 66.94 MB / 367.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001419/0.3146, allocations: 65.41 kB / 368 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007128/0.3218, allocations: 2.767 MB / 370.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3218, allocations: 0 / 370.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.3218, allocations: 4 kB / 370.8 MB, free: 15.06 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.000657/0.3225, allocations: 469.8 kB / 371.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3225, allocations: 16.03 kB / 371.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.3226, allocations: 19.72 kB / 371.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3229, allocations: 240.2 kB / 371.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.323, allocations: 8 kB / 371.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.323, allocations: 8 kB / 371.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002156/0.3232, allocations: 104.2 kB / 371.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.3235, allocations: 182.3 kB / 371.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3235, allocations: 4 kB / 371.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3235, allocations: 0.75 kB / 371.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.3236, allocations: 7.984 kB / 371.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.3246, allocations: 0.7555 MB / 372.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.3252, allocations: 185.4 kB / 372.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.3253, allocations: 47.66 kB / 372.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.3253, allocations: 7.938 kB / 372.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.3255, allocations: 139.5 kB / 372.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3255, allocations: 0 / 372.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003412/0.3259, allocations: 156.8 kB / 373.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.3259, allocations: 81.11 kB / 373.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3261, allocations: 177.9 kB / 373.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3262, allocations: 29.7 kB / 373.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.3262, allocations: 140.3 kB / 373.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.3263, allocations: 35.42 kB / 373.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.3263, allocations: 0 / 373.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3264, allocations: 333.5 kB / 373.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.3265, allocations: 46.42 kB / 373.9 MB, free: 12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3267, allocations: 123.3 kB / 374 MB, free: 11.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3268, allocations: 70.64 kB / 374.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3268, allocations: 0 / 374.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003084/0.3271, allocations: 210.6 kB / 374.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3271, allocations: 12.03 kB / 374.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3272, allocations: 4 kB / 374.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3272, allocations: 4 kB / 374.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3274, allocations: 35.92 kB / 374.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.3274, allocations: 7.984 kB / 374.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3276, allocations: 23.89 kB / 374.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3276, allocations: 14.81 kB / 374.4 MB, free: 11.55 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.0001061/0.3277, allocations: 126.2 kB / 374.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.3278, allocations: 19.77 kB / 374.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.328, allocations: 117 kB / 374.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.328, allocations: 11.92 kB / 374.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.328, allocations: 0 / 374.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.328, allocations: 0 / 374.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.3286, allocations: 444 kB / 375.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3286, allocations: 7.953 kB / 375.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3288, allocations: 15.98 kB / 375.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3288, allocations: 4 kB / 375.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3288, allocations: 3.938 kB / 375.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3288, allocations: 3.984 kB / 375.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3288, allocations: 8 kB / 375.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3291, allocations: 263.5 kB / 375.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.3292, allocations: 100.8 kB / 375.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3293, allocations: 12.11 kB / 375.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3294, allocations: 19.98 kB / 375.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.3295, allocations: 22.78 kB / 375.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3296, allocations: 7.984 kB / 375.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.882e-05/0.3297, allocations: 134.3 kB / 375.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3297, allocations: 0 / 375.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.33, allocations: 43.78 kB / 375.7 MB, free: 10.25 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.0001838/0.3302, allocations: 114.5 kB / 375.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3304, allocations: 135.8 kB / 376 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3304, allocations: 0 / 376 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3305, allocations: 70.28 kB / 376 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3308, allocations: 23.44 kB / 376.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.3313, allocations: 244.4 kB / 376.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3317, allocations: 0.7399 MB / 377 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.3318, allocations: 33.84 kB / 377.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3318, allocations: 19.42 kB / 377.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3318, allocations: 3.938 kB / 377.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of Templates: time 0.00442/0.3363, allocations: 1.675 MB / 378.8 MB, free: 7.23 MB / 266.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)