Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007668/0.007668, allocations: 103 kB / 15.73 MB, free: 5.492 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.001544/0.001544, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001249/0.001249, allocations: 51.92 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09158, allocations: 46.61 MB / 373.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005967/0.0976, allocations: 3.747 MB / 376.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2198/0.3175, allocations: 1.036 MB / 377.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.3179, allocations: 5.5 kB / 377.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.3183, allocations: 117.4 kB / 378 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.3188, allocations: 203.3 kB / 378.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.3191, allocations: 141.8 kB / 378.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000755/0.3199, allocations: 0.7123 MB / 379.1 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.3203, allocations: 201.3 kB / 379.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.3206, allocations: 270.1 kB / 379.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.3209, allocations: 307.4 kB / 379.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.3211, allocations: 58.91 kB / 379.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3212, allocations: 60.69 kB / 380 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3213, allocations: 129 kB / 380.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.3216, allocations: 326.9 kB / 380.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.3225, allocations: 0.7117 MB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3226, allocations: 5.719 kB / 381.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3226, allocations: 1.172 kB / 381.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3226, allocations: 0 / 381.1 MB, free: 9.164 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001602/0.3242, allocations: 0.9181 MB / 382.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3243, allocations: 13.75 kB / 382.1 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3244, allocations: 67.41 kB / 382.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.3251, allocations: 440.3 kB / 382.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3252, allocations: 58.14 kB / 382.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.3253, allocations: 40.06 kB / 382.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/0.3263, allocations: 0.5023 MB / 383.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3263, allocations: 1.938 kB / 383.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.3263, allocations: 18.7 kB / 383.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3264, allocations: 8.031 kB / 383.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.3272, allocations: 356 kB / 383.5 MB, free: 7.797 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.002426/0.3297, allocations: 1.334 MB / 384.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008921/0.3306, allocations: 450.8 kB / 385.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.331, allocations: 193.3 kB / 385.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.3311, allocations: 8.484 kB / 385.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3311, allocations: 44.25 kB / 385.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.485e-06/0.3311, allocations: 0 / 385.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001627/0.3327, allocations: 0.7361 MB / 386.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.3329, allocations: 449.5 kB / 386.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.3335, allocations: 485.4 kB / 387.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.3336, allocations: 36.64 kB / 387.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3338, allocations: 240.6 kB / 387.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.3339, allocations: 129.2 kB / 387.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.334, allocations: 80.48 kB / 387.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3341, allocations: 362 kB / 388 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3345, allocations: 141.2 kB / 388.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.335, allocations: 298.3 kB / 388.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/0.3358, allocations: 351 kB / 388.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3358, allocations: 0 / 388.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001037/0.3369, allocations: 0.4896 MB / 389.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.3369, allocations: 32.61 kB / 389.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3369, allocations: 0.7031 kB / 389.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.3371, allocations: 57.31 kB / 389.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.3376, allocations: 87.73 kB / 389.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.3396, allocations: 2.965 MB / 392.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.3401, allocations: 54.36 kB / 392.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3402, allocations: 8.25 kB / 392.5 MB, free: 1.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.3404, allocations: 175 kB / 392.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3406, allocations: 59.78 kB / 392.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3407, allocations: 56.92 kB / 392.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3407, allocations: 4.016 kB / 392.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3407, allocations: 4.594 kB / 392.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009068/0.3416, allocations: 0.7444 MB / 393.5 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.3436, allocations: 1.045 MB / 394.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3436, allocations: 0.7969 kB / 394.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.3441, allocations: 93.38 kB / 394.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3441, allocations: 9.406 kB / 394.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.3441, allocations: 6.188 kB / 394.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3441, allocations: 1.5 kB / 394.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3441, allocations: 2.016 kB / 394.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.3455, allocations: 0.6707 MB / 395.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.3457, allocations: 173.1 kB / 395.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/0.3458, allocations: 12.03 kB / 395.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.3462, allocations: 27.19 kB / 395.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.3463, allocations: 29 kB / 395.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3463, allocations: 11.5 kB / 395.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004384/0.3468, allocations: 340.6 kB / 395.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3469, allocations: 0 / 395.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.3475, allocations: 147.8 kB / 396.1 MB, free: 14.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0001611/0.3476, allocations: 109.6 kB / 396.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.3489, allocations: 0.6494 MB / 396.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.349, allocations: 1.156 kB / 396.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.3494, allocations: 179.5 kB / 397 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.3501, allocations: 146.2 kB / 397.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.3518, allocations: 0.9534 MB / 398.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.3523, allocations: 0.8356 MB / 398.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.3525, allocations: 62.55 kB / 399 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3527, allocations: 46.08 kB / 399.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.42e-07/0.3527, allocations: 0 / 399.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Templates: time 0.01702/0.3697, allocations: 9.082 MB / 408.1 MB, free: 9.281 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)