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.001473/0.001473, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.00183/0.00183, allocations: 196 kB / 18 MB, free: 5.105 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.683/1.683, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.001358/0.001358, allocations: 51.94 kB / 327.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 46.62 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002972/0.1109, allocations: 1.855 MB / 376.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.1119, allocations: 0.6318 MB / 377 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.112, allocations: 7.938 kB / 377 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.1121, allocations: 31.59 kB / 377 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1123, allocations: 35.66 kB / 377 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1125, allocations: 67.86 kB / 377.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1128, allocations: 159.5 kB / 377.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.113, allocations: 69.48 kB / 377.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1131, allocations: 75.64 kB / 377.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1133, allocations: 79.61 kB / 377.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1133, allocations: 20 kB / 377.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.1134, allocations: 19.94 kB / 377.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.1135, allocations: 39.89 kB / 377.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.1136, allocations: 79.48 kB / 377.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1139, allocations: 195.2 kB / 377.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1139, allocations: 0 / 377.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1139, allocations: 0 / 377.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1139, allocations: 0 / 377.8 MB, free: 1.219 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.0009737/0.1149, allocations: 0.5143 MB / 378.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1149, allocations: 8.031 kB / 378.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.115, allocations: 24.66 kB / 378.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1153, allocations: 235.7 kB / 378.6 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1153, allocations: 8.656 kB / 378.6 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1154, allocations: 16.38 kB / 378.6 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1158, allocations: 203.2 kB / 378.8 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1158, allocations: 3.984 kB / 378.8 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1158, allocations: 4 kB / 378.8 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1158, allocations: 8 kB / 378.8 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1832/0.2991, allocations: 136.1 kB / 379 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3003, allocations: 0.7726 MB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3007, allocations: 163.9 kB / 379.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3008, allocations: 77.05 kB / 380 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.3009, allocations: 8.719 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.3011, allocations: 147.1 kB / 380.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.3011, allocations: 1.375 kB / 380.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006015/0.3018, allocations: 254.9 kB / 380.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3018, allocations: 83.98 kB / 380.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.302, allocations: 200.1 kB / 380.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.302, allocations: 30.33 kB / 380.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3021, allocations: 147.3 kB / 380.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.3022, allocations: 40.98 kB / 380.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.3023, allocations: 43.41 kB / 380.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.3023, allocations: 335.8 kB / 381.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3025, allocations: 66.88 kB / 381.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3027, allocations: 127.4 kB / 381.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.3031, allocations: 215 kB / 381.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3031, allocations: 1.062 kB / 381.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00044/0.3035, allocations: 249.3 kB / 381.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3035, allocations: 6.375 kB / 381.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3036, allocations: 1.938 kB / 381.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3036, allocations: 2.938 kB / 381.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.3038, allocations: 34.58 kB / 381.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.3038, allocations: 3.688 kB / 381.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.304, allocations: 31.72 kB / 382 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.304, allocations: 9.812 kB / 382 MB, free: 11.61 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.0001185/0.3041, allocations: 149.2 kB / 382.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3042, allocations: 20.75 kB / 382.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.3047, allocations: 211.8 kB / 382.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3047, allocations: 6.312 kB / 382.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3047, allocations: 0 / 382.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3047, allocations: 2.594 kB / 382.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.305, allocations: 276 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.305, allocations: 0 / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3051, allocations: 20.94 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3051, allocations: 1.734 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3051, allocations: 1.984 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3052, allocations: 2.078 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3052, allocations: 0.6875 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.3056, allocations: 237.6 kB / 382.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.3056, allocations: 90.33 kB / 383 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3057, allocations: 3.219 kB / 383 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3058, allocations: 18.97 kB / 383 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.3059, allocations: 17.25 kB / 383 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3059, allocations: 7.312 kB / 383 MB, free: 10.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.306, allocations: 151.2 kB / 383.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.306, allocations: 0 / 383.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.3063, allocations: 45.06 kB / 383.2 MB, free: 10.84 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.0001398/0.3065, allocations: 103.2 kB / 383.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.3069, allocations: 178.9 kB / 383.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3069, allocations: 384 / 383.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3071, allocations: 88.27 kB / 383.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3075, allocations: 53.16 kB / 383.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.3081, allocations: 357.2 kB / 384 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.3083, allocations: 0.7367 MB / 384.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.3085, allocations: 33.41 kB / 384.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.3085, allocations: 22.7 kB / 384.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3085, allocations: 4 kB / 384.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of Templates: time 0.005906/0.3144, allocations: 2.172 MB / 386.9 MB, free: 9.574 MB / 318.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)