Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001026/0.001026, allocations: 93.88 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 182.7 kB / 17.2 MB, free: 6.34 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.395/1.395, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.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.0004468/0.0004468, allocations: 19.98 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1003, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002039/0.1024, allocations: 1.475 MB / 329.2 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1035, allocations: 0.6246 MB / 329.8 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1036, allocations: 7.938 kB / 329.8 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1037, allocations: 15.86 kB / 329.8 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1039, allocations: 31.88 kB / 329.8 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1042, allocations: 71.8 kB / 329.9 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1044, allocations: 107.8 kB / 330 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1046, allocations: 54.39 kB / 330.1 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1047, allocations: 67.7 kB / 330.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1049, allocations: 63.69 kB / 330.2 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1049, allocations: 11.94 kB / 330.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.1049, allocations: 8 kB / 330.2 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.105, allocations: 31.89 kB / 330.3 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1051, allocations: 53.58 kB / 330.3 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1052, allocations: 112 kB / 330.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1052, allocations: 0 / 330.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1052, allocations: 0 / 330.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1052, allocations: 0 / 330.4 MB, free: 1.355 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.0008334/0.1061, allocations: 494.5 kB / 330.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1061, allocations: 8.031 kB / 330.9 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.1062, allocations: 23.8 kB / 330.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1065, allocations: 234.6 kB / 331.2 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1065, allocations: 19.95 kB / 331.2 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1066, allocations: 20 kB / 331.2 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.107, allocations: 209 kB / 331.4 MB, free: 268 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.107, allocations: 0 / 331.4 MB, free: 268 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.107, allocations: 12 kB / 331.4 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.107, allocations: 8 kB / 331.4 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.1073, allocations: 143.8 kB / 331.6 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1084, allocations: 0.801 MB / 332.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.109, allocations: 214.6 kB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.1091, allocations: 4 kB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.1094, allocations: 156.5 kB / 332.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1094, allocations: 0 / 332.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005982/0.11, allocations: 249.3 kB / 333 MB, free: 14.6 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1101, allocations: 85.11 kB / 333.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1103, allocations: 226.5 kB / 333.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1103, allocations: 29.7 kB / 333.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1105, allocations: 152.4 kB / 333.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1105, allocations: 23.66 kB / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.1105, allocations: 4 kB / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1107, allocations: 342.8 kB / 333.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1108, allocations: 67.95 kB / 333.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.111, allocations: 140.5 kB / 334 MB, free: 13.47 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1112, allocations: 83.91 kB / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1112, allocations: 0 / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004395/0.1117, allocations: 253.1 kB / 334.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1117, allocations: 8.25 kB / 334.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1117, allocations: 8 kB / 334.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1117, allocations: 0 / 334.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1119, allocations: 47.91 kB / 334.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1119, allocations: 4 kB / 334.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.1121, allocations: 31.83 kB / 334.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1122, allocations: 8.312 kB / 334.5 MB, free: 13.03 MB / 286.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 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,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.0001547/0.1123, allocations: 156 kB / 334.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1124, allocations: 15.81 kB / 334.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.1126, allocations: 135.4 kB / 334.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1126, allocations: 4 kB / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1126, allocations: 0 / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1126, allocations: 96 / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.1133, allocations: 498.1 kB / 335.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1133, allocations: 0 / 335.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1134, allocations: 23.92 kB / 335.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1134, allocations: 0 / 335.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1134, allocations: 4 kB / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1134, allocations: 0 / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1135, allocations: 0 / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1139, allocations: 305.8 kB / 335.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.1139, allocations: 104.8 kB / 335.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.114, allocations: 3.938 kB / 335.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1141, allocations: 31.97 kB / 335.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.1142, allocations: 23.92 kB / 335.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1143, allocations: 4 kB / 335.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1144, allocations: 152.3 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1144, allocations: 0 / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1147, allocations: 36 kB / 335.9 MB, free: 11.44 MB / 286.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 (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.0001586/0.1149, allocations: 111.2 kB / 336 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.1153, allocations: 180.3 kB / 336.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.1153, allocations: 4 kB / 336.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.1155, allocations: 79.89 kB / 336.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.1157, allocations: 27.94 kB / 336.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.1164, allocations: 407.5 kB / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1168, allocations: 0.7364 MB / 337.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.1169, allocations: 45.78 kB / 337.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.117, allocations: 15.44 kB / 337.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.117, allocations: 0 / 337.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of Templates: time 0.004873/0.1219, allocations: 1.78 MB / 339.3 MB, free: 8.016 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) Environment - environmentSimulation: