Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1.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.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004718/0.004718, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00107/0.00107, allocations: 200.2 kB / 16.68 MB, free: 5.969 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.537/1.537, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.001224/0.001224, allocations: 53.77 kB / 326.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1184, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003219/0.1216, allocations: 1.856 MB / 375 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1228, allocations: 0.6318 MB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1229, allocations: 4 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1231, allocations: 23.67 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1232, allocations: 39.66 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1236, allocations: 67.86 kB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.1239, allocations: 167.3 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1241, allocations: 77.42 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1242, allocations: 67.7 kB / 376.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1244, allocations: 83.56 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1244, allocations: 12 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.1245, allocations: 23.98 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.1246, allocations: 43.83 kB / 376.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.1247, allocations: 75.48 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.125, allocations: 195.1 kB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.125, allocations: 0 / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.125, allocations: 4 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.125, allocations: 0 / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008917/0.1259, allocations: 0.5102 MB / 377 MB, free: 13.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.126, allocations: 8.031 kB / 377 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.126, allocations: 28.8 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1263, allocations: 247.7 kB / 377.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1263, allocations: 12.66 kB / 377.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1263, allocations: 12.38 kB / 377.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.1267, allocations: 195.3 kB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1267, allocations: 3.938 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1267, allocations: 12 kB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.1268, allocations: 4 kB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.127, allocations: 143.8 kB / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1281, allocations: 0.7702 MB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1284, allocations: 161 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1286, allocations: 81.8 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1286, allocations: 8.141 kB / 378.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.1289, allocations: 141 kB / 378.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.1289, allocations: 0 / 378.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005429/0.1294, allocations: 257.6 kB / 379.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1295, allocations: 89.03 kB / 379.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1297, allocations: 199 kB / 379.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1297, allocations: 29.81 kB / 379.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.1298, allocations: 152.2 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1298, allocations: 43.64 kB / 379.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.1299, allocations: 41.7 kB / 379.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.13, allocations: 330.8 kB / 379.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.1302, allocations: 67.95 kB / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1304, allocations: 130.7 kB / 380.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.1307, allocations: 207.2 kB / 380.3 MB, free: 9.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1307, allocations: 0 / 380.3 MB, free: 9.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004207/0.1312, allocations: 249.2 kB / 380.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1312, allocations: 8 kB / 380.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.1312, allocations: 3.984 kB / 380.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1312, allocations: 4 kB / 380.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1314, allocations: 31.92 kB / 380.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1314, allocations: 4 kB / 380.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1316, allocations: 40 kB / 380.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1316, allocations: 8 kB / 380.7 MB, free: 9.461 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001448/0.1318, allocations: 153.6 kB / 380.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.1318, allocations: 15.91 kB / 380.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.1323, allocations: 210.9 kB / 381.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1323, allocations: 4 kB / 381.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1323, allocations: 8 kB / 381.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1323, allocations: 0 / 381.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1326, allocations: 273.4 kB / 381.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1326, allocations: 0 / 381.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1327, allocations: 31.91 kB / 381.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1327, allocations: 0 / 381.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.1328, allocations: 4 kB / 381.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1328, allocations: 0 / 381.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1328, allocations: 0 / 381.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.1332, allocations: 233.6 kB / 381.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.1333, allocations: 96.97 kB / 381.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1333, allocations: 0 / 381.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1334, allocations: 23.97 kB / 381.7 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.1335, allocations: 11.98 kB / 381.7 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1335, allocations: 11.92 kB / 381.7 MB, free: 8.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1337, allocations: 148.4 kB / 381.9 MB, free: 8.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 3.938 kB / 381.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.134, allocations: 39.94 kB / 381.9 MB, free: 8.109 MB / 318.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: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001482/0.1341, allocations: 99.25 kB / 382 MB, free: 8.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004152/0.1346, allocations: 172.1 kB / 382.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1346, allocations: 4.062 kB / 382.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.1348, allocations: 79.89 kB / 382.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1351, allocations: 44.12 kB / 382.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.1358, allocations: 369 kB / 382.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1362, allocations: 0.7397 MB / 383.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1363, allocations: 37.52 kB / 383.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.1364, allocations: 19.44 kB / 383.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1364, allocations: 0 / 383.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of Templates: time 0.005213/0.1416, allocations: 2.127 MB / 385.6 MB, free: 4.367 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1)