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.001252/0.001253, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7817/0.7817, allocations: 133.6 MB / 141.6 MB, free: 2.848 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.0008593, allocations: 97.75 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.728e-05, allocations: 0 / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4334, allocations: 82.31 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8146/1.248, allocations: 380.7 MB / 1.006 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.248, allocations: 89.95 kB / 1.006 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.154/6.402, allocations: 1.328 GB / 2.333 GB, free: 44.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/6.402, allocations: 3.938 kB / 2.333 GB, free: 44.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006145/6.403, allocations: 94.95 kB / 2.334 GB, free: 43.99 MB / 0.698 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.0135/6.416, allocations: 3.126 MB / 2.337 GB, free: 40.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.753e-05/6.416, allocations: 12.03 kB / 2.337 GB, free: 40.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/6.421, allocations: 0.5338 MB / 2.337 GB, free: 40.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/6.436, allocations: 4.325 MB / 2.341 GB, free: 35.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/6.436, allocations: 55.94 kB / 2.341 GB, free: 35.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005928/6.437, allocations: 112 kB / 2.341 GB, free: 35.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003465/6.44, allocations: 1.615 MB / 2.343 GB, free: 34.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/6.443, allocations: 1.825 MB / 2.345 GB, free: 32.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/6.443, allocations: 7.891 kB / 2.345 GB, free: 32.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/6.443, allocations: 4 kB / 2.345 GB, free: 32.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/6.444, allocations: 40 kB / 2.345 GB, free: 32.18 MB / 0.698 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.01602/6.46, allocations: 11.22 MB / 2.356 GB, free: 20.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/6.462, allocations: 1.236 MB / 2.357 GB, free: 19.13 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/6.463, allocations: 0.9009 MB / 2.358 GB, free: 18.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007021/6.47, allocations: 3.399 MB / 2.361 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/6.471, allocations: 0.6447 MB / 2.362 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002963/6.474, allocations: 0.5689 MB / 2.362 GB, free: 13.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 4.008e-06/6.474, allocations: 0 / 2.362 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.009233/6.483, allocations: 2.448 MB / 2.365 GB, free: 10.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/6.484, allocations: 64.19 kB / 2.365 GB, free: 10.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/6.488, allocations: 2.209 MB / 2.367 GB, free: 8.594 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001951/6.488, allocations: 33.7 kB / 2.367 GB, free: 8.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/6.489, allocations: 1.405 MB / 2.368 GB, free: 7.129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/6.49, allocations: 335.1 kB / 2.369 GB, free: 6.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/6.49, allocations: 0 / 2.369 GB, free: 6.797 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001174/6.49, allocations: 361.9 kB / 2.369 GB, free: 6.438 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009594/6.491, allocations: 0.5311 MB / 2.37 GB, free: 5.906 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/6.492, allocations: 1.268 MB / 2.371 GB, free: 4.273 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006246/6.498, allocations: 1.318 MB / 2.372 GB, free: 2.957 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/6.498, allocations: 8 kB / 2.372 GB, free: 2.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009969/6.508, allocations: 2.901 MB / 2.375 GB, free: 52 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002943/6.511, allocations: 5.959 MB / 2.381 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/6.511, allocations: 15.94 kB / 2.381 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/6.513, allocations: 437.2 kB / 2.381 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/6.514, allocations: 265.5 kB / 2.382 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/6.517, allocations: 2.026 MB / 2.383 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/6.521, allocations: 148.1 kB / 2.384 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/6.521, allocations: 79.91 kB / 2.384 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/6.521, allocations: 9.562 kB / 2.384 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009745/6.531, allocations: 2.512 MB / 2.386 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/6.531, allocations: 16 kB / 2.386 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/6.532, allocations: 402 kB / 2.387 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/6.534, allocations: 261.5 kB / 2.387 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7163/7.25, allocations: 5.59 MB / 2.392 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004919/7.255, allocations: 139.7 kB / 2.392 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006026/7.256, allocations: 68.27 kB / 2.392 GB, free: 95.93 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.0007796/7.257, allocations: 160.5 kB / 2.393 GB, free: 95.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01238/7.269, allocations: 2.281 MB / 2.395 GB, free: 95.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/7.27, allocations: 290.3 kB / 2.395 GB, free: 95.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/7.282, allocations: 2.57 MB / 2.398 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/7.282, allocations: 9.5 kB / 2.398 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/7.282, allocations: 1.875 kB / 2.398 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009351/7.291, allocations: 2.311 MB / 2.4 GB, free: 95.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/7.307, allocations: 4.371 MB / 2.404 GB, free: 94.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/7.307, allocations: 0 / 2.404 GB, free: 94.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/7.309, allocations: 137.4 kB / 2.404 GB, free: 94.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/7.31, allocations: 381.7 kB / 2.405 GB, free: 94.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/7.31, allocations: 14.61 kB / 2.405 GB, free: 94.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/7.312, allocations: 1.864 MB / 2.407 GB, free: 93.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/7.312, allocations: 0 / 2.407 GB, free: 93.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/7.324, allocations: 3.267 MB / 2.41 GB, free: 93.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/7.326, allocations: 489.4 kB / 2.41 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005652/7.327, allocations: 9.953 kB / 2.41 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/7.329, allocations: 125.5 kB / 2.41 GB, free: 92.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/7.33, allocations: 74.55 kB / 2.41 GB, free: 92.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/7.33, allocations: 36.41 kB / 2.41 GB, free: 92.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.006284/7.336, allocations: 1.678 MB / 2.412 GB, free: 92.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.21e-07/7.336, allocations: 4.688 kB / 2.412 GB, free: 92.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008743/7.345, allocations: 1.393 MB / 2.413 GB, free: 92.71 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.01443/7.359, allocations: 4.647 MB / 2.418 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006365/7.366, allocations: 2.765 MB / 2.421 GB, free: 91.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/7.366, allocations: 3.844 kB / 2.421 GB, free: 91.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/7.367, allocations: 0.6334 MB / 2.421 GB, free: 91.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008177/7.376, allocations: 1.058 MB / 2.422 GB, free: 91.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/7.389, allocations: 4.506 MB / 2.427 GB, free: 90.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/7.391, allocations: 2.109 MB / 2.429 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008346/7.399, allocations: 1.397 MB / 2.43 GB, free: 89.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/7.401, allocations: 1.099 MB / 2.431 GB, free: 89.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.653e-06/7.401, allocations: 2.625 kB / 2.431 GB, free: 89.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2068/7.608, allocations: 77.99 MB / 2.507 GB, free: 85.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002911/7.608, allocations: 161.1 kB / 2.508 GB, free: 85.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.579/13.19, allocations: 0 / 2.508 GB, free: 85.5 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)