Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001081/0.001081, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001183/0.001183, allocations: 182 kB / 17.56 MB, free: 6.203 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.704/1.704, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005531/0.0005531, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.137, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002239/0.1392, allocations: 1.559 MB / 329.9 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1405, allocations: 0.6009 MB / 330.5 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1406, allocations: 4 kB / 330.5 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1407, allocations: 23.8 kB / 330.5 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1409, allocations: 31.72 kB / 330.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1412, allocations: 55.94 kB / 330.6 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1414, allocations: 151.5 kB / 330.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.1416, allocations: 65.42 kB / 330.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1418, allocations: 63.66 kB / 330.9 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1419, allocations: 71.55 kB / 330.9 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.142, allocations: 4 kB / 330.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.1421, allocations: 16 kB / 330.9 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1422, allocations: 39.78 kB / 331 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1423, allocations: 89.25 kB / 331.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1426, allocations: 163.5 kB / 331.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1426, allocations: 0 / 331.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1426, allocations: 0 / 331.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1426, allocations: 0 / 331.2 MB, free: 0.8125 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001052/0.1437, allocations: 495 kB / 331.7 MB, free: 288 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1437, allocations: 8.031 kB / 331.7 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.1438, allocations: 24.66 kB / 331.7 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1441, allocations: 235.7 kB / 332 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1442, allocations: 8.656 kB / 332 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1442, allocations: 20.38 kB / 332 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.1446, allocations: 203.2 kB / 332.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1446, allocations: 0 / 332.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.1447, allocations: 7.938 kB / 332.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.1447, allocations: 8 kB / 332.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.145, allocations: 151.9 kB / 332.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1462, allocations: 0.7857 MB / 333.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.1466, allocations: 180.9 kB / 333.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1467, allocations: 77.81 kB / 333.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.317e-05/0.1468, allocations: 8.094 kB / 333.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.1471, allocations: 152.9 kB / 333.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.1471, allocations: 7.938 kB / 333.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005953/0.1477, allocations: 257.5 kB / 333.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1478, allocations: 85.05 kB / 333.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.148, allocations: 202.9 kB / 334.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.148, allocations: 37.7 kB / 334.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.1481, allocations: 132.2 kB / 334.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.1482, allocations: 47.36 kB / 334.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1482, allocations: 29.7 kB / 334.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1484, allocations: 326.8 kB / 334.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1485, allocations: 71.95 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.1487, allocations: 134.8 kB / 334.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1491, allocations: 211.2 kB / 335.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1491, allocations: 4 kB / 335.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004169/0.1495, allocations: 249.2 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1495, allocations: 8 kB / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1496, allocations: 4 kB / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1496, allocations: 4.094 kB / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1498, allocations: 48.05 kB / 335.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1498, allocations: 0 / 335.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1499, allocations: 39.81 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.15, allocations: 8 kB / 335.4 MB, free: 12.29 MB / 286.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.0001344/0.1501, allocations: 145.6 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1501, allocations: 19.81 kB / 335.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.1506, allocations: 218.9 kB / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1506, allocations: 4 kB / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1506, allocations: 0 / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1506, allocations: 0 / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.1509, allocations: 277.4 kB / 336.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1509, allocations: 0 / 336.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.151, allocations: 19.98 kB / 336.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.151, allocations: 7.938 kB / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1511, allocations: 4 kB / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1511, allocations: 0 / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1511, allocations: 4 kB / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1515, allocations: 237 kB / 336.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.1516, allocations: 96.77 kB / 336.4 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1516, allocations: 11.98 kB / 336.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1518, allocations: 19.98 kB / 336.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.1518, allocations: 19.97 kB / 336.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1519, allocations: 4 kB / 336.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.152, allocations: 148.5 kB / 336.6 MB, free: 10.97 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 336.6 MB, free: 10.97 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1523, allocations: 35.94 kB / 336.7 MB, free: 10.94 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: 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.0001503/0.1524, allocations: 103.2 kB / 336.8 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004168/0.1529, allocations: 179.8 kB / 337 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1529, allocations: 0 / 337 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.153, allocations: 91.89 kB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1534, allocations: 44.23 kB / 337.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.1541, allocations: 450.2 kB / 337.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1545, allocations: 0.7358 MB / 338.3 MB, free: 9.289 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1547, allocations: 37.45 kB / 338.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.1547, allocations: 19.44 kB / 338.3 MB, free: 9.234 MB / 286.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1547, allocations: 0 / 338.3 MB, free: 9.234 MB / 286.1 MB Notification: Performance of Templates: time 0.005542/0.1603, allocations: 1.88 MB / 340.2 MB, free: 7.359 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1)