Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 114.6 kB / 17.06 MB, free: 6 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.001819/0.001819, allocations: 200 kB / 18 MB, free: 5.078 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.399/1.399, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001387/0.001387, allocations: 51.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1003, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.2229/0.3232, allocations: 5.179 MB / 379.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.3262, allocations: 1.385 MB / 381 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.3266, allocations: 8.25 kB / 381.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.3271, allocations: 168.8 kB / 381.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007178/0.3278, allocations: 336.5 kB / 381.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.3284, allocations: 242 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.3301, allocations: 1.227 MB / 383 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.3307, allocations: 341.9 kB / 383.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.3313, allocations: 475.9 kB / 383.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.3319, allocations: 0.5295 MB / 384.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.3322, allocations: 109.2 kB / 384.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.3324, allocations: 113.6 kB / 384.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.3326, allocations: 232.4 kB / 384.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.3331, allocations: 0.5392 MB / 385.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.3346, allocations: 1.256 MB / 386.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3346, allocations: 0 / 386.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3346, allocations: 0 / 386.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3346, allocations: 0 / 386.6 MB, free: 7.574 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00261/0.3372, allocations: 1.381 MB / 388 MB, free: 6.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3373, allocations: 10.38 kB / 388 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3375, allocations: 113.4 kB / 388.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.3386, allocations: 0.6028 MB / 388.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.3388, allocations: 142 kB / 388.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.339, allocations: 66.48 kB / 388.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.3407, allocations: 0.8938 MB / 389.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3407, allocations: 1.125 kB / 389.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/0.3408, allocations: 28.34 kB / 389.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.3409, allocations: 16.28 kB / 389.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.3424, allocations: 0.6249 MB / 390.4 MB, free: 5.25 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.3464, allocations: 2.173 MB / 392.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.3482, allocations: 1.009 MB / 393.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.3491, allocations: 411.3 kB / 394 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.3492, allocations: 18.59 kB / 394.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3492, allocations: 52.41 kB / 394.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.515e-06/0.3493, allocations: 0 / 394.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.005468/0.3547, allocations: 1.832 MB / 395.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.3549, allocations: 0.8256 MB / 396.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.3558, allocations: 0.664 MB / 397.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.3558, allocations: 50.53 kB / 397.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3561, allocations: 351 kB / 397.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.3563, allocations: 267.6 kB / 398.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.3565, allocations: 145.2 kB / 398.2 MB, free: 476 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.3566, allocations: 333.3 kB / 398.5 MB, free: 152 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.3573, allocations: 281 kB / 398.8 MB, free: 56 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.3584, allocations: 0.5726 MB / 399.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.3598, allocations: 0.7021 MB / 400.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3598, allocations: 2.297 kB / 400.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002917/0.3628, allocations: 1.121 MB / 401.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.3628, allocations: 84.98 kB / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3629, allocations: 1.094 kB / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/0.3636, allocations: 242.2 kB / 401.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.3643, allocations: 147.3 kB / 401.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/0.373, allocations: 6.936 MB / 408.6 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.3745, allocations: 104.3 kB / 408.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.3746, allocations: 25.52 kB / 408.7 MB, free: 7.957 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000514/0.3751, allocations: 233.8 kB / 409 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.3753, allocations: 95.39 kB / 409.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3755, allocations: 103.6 kB / 409.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.3755, allocations: 7.531 kB / 409.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.3755, allocations: 0 / 409.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002689/0.3782, allocations: 1.264 MB / 410.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.3827, allocations: 1.986 MB / 412.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3827, allocations: 1.219 kB / 412.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.3835, allocations: 142.6 kB / 412.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006822/0.3842, allocations: 203.7 kB / 412.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/0.3843, allocations: 20.27 kB / 412.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/0.391, allocations: 5.339 MB / 418.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.391, allocations: 0 / 418.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.3944, allocations: 1.443 MB / 419.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.395, allocations: 246.7 kB / 419.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3951, allocations: 18.75 kB / 419.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.3958, allocations: 56.67 kB / 419.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.396, allocations: 64.06 kB / 419.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.396, allocations: 21.75 kB / 420 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006228/0.3967, allocations: 475.7 kB / 420.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3967, allocations: 1.375 kB / 420.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009992/0.3977, allocations: 284.5 kB / 420.7 MB, free: 14.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.3979, allocations: 128.9 kB / 420.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.4001, allocations: 1.379 MB / 422.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.4002, allocations: 4 kB / 422.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.4015, allocations: 0.7886 MB / 423 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.4026, allocations: 235.8 kB / 423.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.4061, allocations: 1.651 MB / 424.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.4067, allocations: 0.9559 MB / 425.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000513/0.4072, allocations: 110.7 kB / 426 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.4074, allocations: 67.42 kB / 426 MB, free: 9.418 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4074, allocations: 4 kB / 426 MB, free: 9.414 MB / 350.1 MB Notification: Performance of Templates: time 0.03072/0.4381, allocations: 19.46 MB / 445.5 MB, free: 5.93 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)