Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000906/0.0009062, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005553/0.005553, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8291/0.8291, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 12.5 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 82.3 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.2779/0.4167, allocations: 70.45 MB / 0.6569 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.4347, allocations: 16.89 MB / 0.6734 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.4372, allocations: 79.66 kB / 0.6734 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.4393, allocations: 0.8553 MB / 0.6743 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.4442, allocations: 2.187 MB / 0.6764 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.4483, allocations: 1.851 MB / 0.6782 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.4586, allocations: 10.59 MB / 0.6886 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006975/0.4656, allocations: 5.575 MB / 0.694 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005701/0.4714, allocations: 2.793 MB / 0.6967 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.4747, allocations: 2.413 MB / 0.6991 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.475, allocations: 124.5 kB / 0.6992 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.4777, allocations: 1.229 MB / 0.7004 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005889/0.4783, allocations: 0.6084 MB / 0.701 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.48, allocations: 1.61 MB / 0.7026 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.4841, allocations: 4.511 MB / 0.707 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4841, allocations: 1 kB / 0.707 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4841, allocations: 0 / 0.707 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.096e-05/0.4842, allocations: 0 / 0.707 GB, free: 14.12 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.005834/0.49, allocations: 3.802 MB / 0.7107 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.49, allocations: 9.344 kB / 0.7107 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002838/0.4903, allocations: 229.9 kB / 0.7109 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.4923, allocations: 0.5784 MB / 0.7115 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.4962, allocations: 2.645 MB / 0.7141 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/0.4963, allocations: 143.4 kB / 0.7142 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.4965, allocations: 184.8 kB / 0.7144 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.4997, allocations: 2.319 MB / 0.7167 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.4998, allocations: 8.156 kB / 0.7167 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.4999, allocations: 68.66 kB / 0.7167 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.5, allocations: 41.66 kB / 0.7168 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.5031, allocations: 1.894 MB / 0.7186 GB, free: 6.164 MB / 0.5294 GB 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.01179/0.5149, allocations: 11.69 MB / 0.73 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.5174, allocations: 1.373 MB / 0.7314 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.5189, allocations: 1.017 MB / 0.7324 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005224/0.5242, allocations: 3.757 MB / 0.736 GB, free: 3.441 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.5255, allocations: 0.7934 MB / 0.7368 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001199/0.5267, allocations: 446.7 kB / 0.7372 GB, free: 2.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 2.524e-06/0.5267, allocations: 0 / 0.7372 GB, free: 2.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01081/0.5376, allocations: 4.192 MB / 0.7413 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5376, allocations: 60.41 kB / 0.7414 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.5408, allocations: 2.871 MB / 0.7442 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5409, allocations: 57.7 kB / 0.7442 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.542, allocations: 1.414 MB / 0.7456 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.5423, allocations: 343.2 kB / 0.746 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.5425, allocations: 125.6 kB / 0.7461 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.5426, allocations: 301.1 kB / 0.7464 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.5438, allocations: 0.6714 MB / 0.747 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.5455, allocations: 1.415 MB / 0.7484 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/0.5482, allocations: 1.882 MB / 0.7502 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5482, allocations: 4 kB / 0.7502 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005261/0.5535, allocations: 2.827 MB / 0.753 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000311/0.5538, allocations: 0.5368 MB / 0.7535 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.5538, allocations: 12 kB / 0.7535 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.5562, allocations: 0.6883 MB / 0.7542 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.5573, allocations: 293.8 kB / 0.7545 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.559, allocations: 1.904 MB / 0.7563 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.561, allocations: 180.8 kB / 0.7565 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.5611, allocations: 79.97 kB / 0.7566 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.5611, allocations: 4 kB / 0.7566 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003749/0.5649, allocations: 2.362 MB / 0.7589 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5649, allocations: 12 kB / 0.7589 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008548/0.5658, allocations: 473.8 kB / 0.7594 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.5668, allocations: 281.4 kB / 0.7596 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006121/0.5729, allocations: 5.864 MB / 0.7654 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5746, allocations: 184.8 kB / 0.7655 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5747, allocations: 71.97 kB / 0.7656 GB, free: 3.898 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * 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 {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001233/0.576, allocations: 0.821 MB / 0.7664 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/0.5763, allocations: 292.3 kB / 0.7667 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.5803, allocations: 2.304 MB / 0.7689 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.5804, allocations: 19.92 kB / 0.769 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.5804, allocations: 0 / 0.769 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003073/0.5835, allocations: 2.006 MB / 0.7709 GB, free: 14.36 MB / 0.5919 GB 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 postOpt removeSimpleEquations (simulation): time 0.006281/0.5898, allocations: 4.367 MB / 0.7752 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5898, allocations: 0 / 0.7752 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.5905, allocations: 145.8 kB / 0.7753 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009832/0.5915, allocations: 481 kB / 0.7758 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.5916, allocations: 31.98 kB / 0.7758 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.5931, allocations: 1.858 MB / 0.7776 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5931, allocations: 0 / 0.7776 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004798/0.5979, allocations: 3.068 MB / 0.7806 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009257/0.5988, allocations: 0.5011 MB / 0.7811 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.5991, allocations: 20 kB / 0.7811 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.6003, allocations: 151.8 kB / 0.7813 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.6005, allocations: 64.91 kB / 0.7813 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.6006, allocations: 39.97 kB / 0.7814 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002386/0.6029, allocations: 1.951 MB / 0.7833 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.603, allocations: 3.938 kB / 0.7833 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003274/0.6062, allocations: 1.361 MB / 0.7846 GB, free: 136 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005483/0.6117, allocations: 3.733 MB / 0.7883 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005111/0.6168, allocations: 3.134 MB / 0.7913 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6169, allocations: 0 / 0.7913 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.6182, allocations: 0.7616 MB / 0.7921 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/0.6233, allocations: 1.185 MB / 0.7932 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04622/0.6696, allocations: 25.81 MB / 0.8184 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.6712, allocations: 2.037 MB / 0.8204 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002585/0.6738, allocations: 0.7221 MB / 0.8211 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.6752, allocations: 1.167 MB / 0.8223 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.6752, allocations: 0 / 0.8223 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.25/2.925, allocations: 74.41 MB / 0.8949 GB, free: 193.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/2.926, allocations: 262.6 kB / 0.8952 GB, free: 193.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/6.515, allocations: 2.625 kB / 0.8952 GB, free: 193.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)