Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8247/0.8247, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 96.89 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.164e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1543, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.324, allocations: 381.4 MB / 1.013 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/1.324, allocations: 89.08 kB / 1.013 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.926/6.251, allocations: 1.334 GB / 2.347 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.304e-06/6.251, allocations: 0 / 2.347 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004773/6.251, allocations: 93.62 kB / 2.347 GB, free: 111.1 MB / 0.7136 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.01154/6.263, allocations: 3.124 MB / 2.351 GB, free: 110 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/6.263, allocations: 9.656 kB / 2.351 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006014/6.263, allocations: 228.7 kB / 2.351 GB, free: 110 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/6.266, allocations: 0.5287 MB / 2.351 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/6.277, allocations: 4.33 MB / 2.356 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/6.277, allocations: 139.4 kB / 2.356 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/6.277, allocations: 190.5 kB / 2.356 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/6.28, allocations: 2.169 MB / 2.358 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/6.281, allocations: 8.406 kB / 2.358 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/6.281, allocations: 73.09 kB / 2.358 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/6.281, allocations: 40.84 kB / 2.358 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/6.283, allocations: 1.678 MB / 2.36 GB, free: 108.8 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.0138/6.297, allocations: 11.53 MB / 2.371 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/6.299, allocations: 1.181 MB / 2.372 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/6.3, allocations: 0.8929 MB / 2.373 GB, free: 102.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005745/6.306, allocations: 3.474 MB / 2.376 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009548/6.307, allocations: 0.6824 MB / 2.377 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002273/6.309, allocations: 0.6059 MB / 2.378 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.266e-06/6.309, allocations: 0 / 2.378 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.002748/6.312, allocations: 1.783 MB / 2.379 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/6.312, allocations: 65.09 kB / 2.379 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/6.315, allocations: 2.467 MB / 2.382 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/6.315, allocations: 60.67 kB / 2.382 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/6.316, allocations: 1.417 MB / 2.383 GB, free: 99.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/6.316, allocations: 344.1 kB / 2.384 GB, free: 99.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/6.316, allocations: 31.38 kB / 2.384 GB, free: 99.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001025/6.317, allocations: 366.6 kB / 2.384 GB, free: 99.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/6.317, allocations: 0.5132 MB / 2.385 GB, free: 99.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/6.318, allocations: 1.288 MB / 2.386 GB, free: 98.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/6.319, allocations: 0.734 MB / 2.386 GB, free: 98.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/6.319, allocations: 4.688 kB / 2.386 GB, free: 98.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003548/6.323, allocations: 2.363 MB / 2.389 GB, free: 97.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001195/6.324, allocations: 5.98 MB / 2.395 GB, free: 91.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/6.324, allocations: 16.53 kB / 2.395 GB, free: 91.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/6.325, allocations: 0.4999 MB / 2.395 GB, free: 91.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/6.326, allocations: 275.4 kB / 2.395 GB, free: 91.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/6.328, allocations: 1.894 MB / 2.397 GB, free: 90.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/6.331, allocations: 184.3 kB / 2.397 GB, free: 90.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/6.331, allocations: 76.73 kB / 2.397 GB, free: 90.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/6.331, allocations: 7.188 kB / 2.398 GB, free: 90.45 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00307/6.334, allocations: 2.122 MB / 2.4 GB, free: 90.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/6.334, allocations: 13.53 kB / 2.4 GB, free: 90.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008344/6.335, allocations: 470.7 kB / 2.4 GB, free: 90.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/6.336, allocations: 263.9 kB / 2.4 GB, free: 90.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/6.341, allocations: 5.835 MB / 2.406 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/6.344, allocations: 176.8 kB / 2.406 GB, free: 87.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/6.344, allocations: 68.28 kB / 2.406 GB, free: 87.36 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004567/6.345, allocations: 204 kB / 2.406 GB, free: 87.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/6.345, allocations: 296.5 kB / 2.407 GB, free: 87.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/6.349, allocations: 2.097 MB / 2.409 GB, free: 86.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/6.349, allocations: 11.69 kB / 2.409 GB, free: 86.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/6.349, allocations: 0 / 2.409 GB, free: 86.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002168/6.351, allocations: 1.815 MB / 2.411 GB, free: 86.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00619/6.357, allocations: 4.05 MB / 2.414 GB, free: 85.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/6.357, allocations: 0 / 2.414 GB, free: 85.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/6.358, allocations: 139.3 kB / 2.415 GB, free: 85.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009367/6.359, allocations: 471.9 kB / 2.415 GB, free: 85.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/6.359, allocations: 30.91 kB / 2.415 GB, free: 85.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/6.36, allocations: 1.843 MB / 2.417 GB, free: 84.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/6.36, allocations: 0 / 2.417 GB, free: 84.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/6.364, allocations: 2.791 MB / 2.42 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/6.365, allocations: 500 kB / 2.42 GB, free: 84.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/6.365, allocations: 23.38 kB / 2.42 GB, free: 84.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/6.367, allocations: 145.9 kB / 2.42 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/6.367, allocations: 76.7 kB / 2.42 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/6.367, allocations: 40.97 kB / 2.42 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002514/6.369, allocations: 1.914 MB / 2.422 GB, free: 83.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.042e-06/6.369, allocations: 3.094 kB / 2.422 GB, free: 83.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004279/6.374, allocations: 1.455 MB / 2.424 GB, free: 83.77 MB / 0.7136 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.005105/6.379, allocations: 4.218 MB / 2.428 GB, free: 82.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004315/6.383, allocations: 2.867 MB / 2.431 GB, free: 82.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/6.383, allocations: 3.938 kB / 2.431 GB, free: 82.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/6.384, allocations: 0.6521 MB / 2.431 GB, free: 82.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005926/6.39, allocations: 1.169 MB / 2.432 GB, free: 82.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008442/6.398, allocations: 4.643 MB / 2.437 GB, free: 80.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/6.4, allocations: 2.102 MB / 2.439 GB, free: 80.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004874/6.405, allocations: 1.597 MB / 2.441 GB, free: 80.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/6.406, allocations: 1.095 MB / 2.442 GB, free: 80.12 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/6.406, allocations: 9.469 kB / 2.442 GB, free: 80.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/6.549, allocations: 89.99 MB / 2.529 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/6.549, allocations: 203.9 kB / 2.53 GB, free: 48.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.705/12.25, allocations: 8 kB / 2.53 GB, free: 48.09 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)