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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002233, allocations: 173.9 kB / 7.648 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 1.305/1.305, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.373/2.373, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.001078/0.001078, allocations: 100.2 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.684e-05/2.714e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7407, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.457/2.197, allocations: 380.7 MB / 1.006 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/2.198, allocations: 91.45 kB / 1.006 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.43/10.63, allocations: 1.328 GB / 2.333 GB, free: 43.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.188e-06/10.63, allocations: 3.938 kB / 2.333 GB, free: 43.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001075/10.63, allocations: 99.52 kB / 2.334 GB, free: 43.61 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.0185/10.65, allocations: 3.121 MB / 2.337 GB, free: 40.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/10.65, allocations: 8.031 kB / 2.337 GB, free: 40.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/10.65, allocations: 0.5298 MB / 2.337 GB, free: 39.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/10.67, allocations: 4.332 MB / 2.341 GB, free: 35.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/10.67, allocations: 48 kB / 2.341 GB, free: 35.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007998/10.67, allocations: 116 kB / 2.341 GB, free: 35.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00446/10.68, allocations: 1.623 MB / 2.343 GB, free: 33.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/10.68, allocations: 1.823 MB / 2.345 GB, free: 31.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.136e-05/10.68, allocations: 7.953 kB / 2.345 GB, free: 31.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/10.68, allocations: 7.938 kB / 2.345 GB, free: 31.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/10.68, allocations: 40 kB / 2.345 GB, free: 31.8 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.021/10.7, allocations: 11.21 MB / 2.356 GB, free: 19.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/10.7, allocations: 1.24 MB / 2.357 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/10.71, allocations: 0.8931 MB / 2.358 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00741/10.71, allocations: 3.399 MB / 2.361 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00099/10.72, allocations: 0.6447 MB / 2.362 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002694/10.72, allocations: 0.5728 MB / 2.362 GB, free: 12.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 5.531e-06/10.72, allocations: 0 / 2.362 GB, free: 12.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.009028/10.73, allocations: 2.443 MB / 2.365 GB, free: 10.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/10.73, allocations: 60.19 kB / 2.365 GB, free: 10.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/10.73, allocations: 2.217 MB / 2.367 GB, free: 8.203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004318/10.73, allocations: 29.7 kB / 2.367 GB, free: 8.168 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/10.73, allocations: 1.409 MB / 2.368 GB, free: 6.738 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/10.73, allocations: 335.1 kB / 2.369 GB, free: 6.406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/10.73, allocations: 0 / 2.369 GB, free: 6.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001411/10.73, allocations: 361.9 kB / 2.369 GB, free: 6.047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/10.73, allocations: 0.5271 MB / 2.37 GB, free: 5.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/10.74, allocations: 1.268 MB / 2.371 GB, free: 3.887 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005171/10.74, allocations: 1.318 MB / 2.372 GB, free: 2.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/10.74, allocations: 8 kB / 2.372 GB, free: 2.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009354/10.75, allocations: 2.909 MB / 2.375 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003589/10.75, allocations: 5.951 MB / 2.381 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/10.75, allocations: 19.88 kB / 2.381 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/10.76, allocations: 441.2 kB / 2.381 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/10.76, allocations: 261.5 kB / 2.382 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/10.76, allocations: 2.026 MB / 2.383 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/10.76, allocations: 144.2 kB / 2.384 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/10.76, allocations: 79.97 kB / 2.384 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/10.76, allocations: 8 kB / 2.384 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01346/10.78, allocations: 2.512 MB / 2.386 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.622e-05/10.78, allocations: 12 kB / 2.386 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/10.78, allocations: 406 kB / 2.387 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/10.78, allocations: 261.5 kB / 2.387 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9142/11.69, allocations: 5.596 MB / 2.392 GB, free: 95.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/11.7, allocations: 139 kB / 2.392 GB, free: 95.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005203/11.7, allocations: 69.89 kB / 2.392 GB, free: 95.71 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.0006486/11.7, allocations: 161 kB / 2.393 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01136/11.71, allocations: 2.28 MB / 2.395 GB, free: 95.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/11.71, allocations: 291.7 kB / 2.395 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/11.72, allocations: 2.574 MB / 2.398 GB, free: 95.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.514e-05/11.72, allocations: 9.391 kB / 2.398 GB, free: 95.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/11.72, allocations: 4.656 kB / 2.398 GB, free: 95.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008133/11.73, allocations: 2.31 MB / 2.4 GB, free: 94.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/11.75, allocations: 4.365 MB / 2.404 GB, free: 94.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/11.75, allocations: 1.344 kB / 2.404 GB, free: 94.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/11.75, allocations: 136.1 kB / 2.404 GB, free: 94.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/11.75, allocations: 387.1 kB / 2.405 GB, free: 94.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/11.75, allocations: 15.53 kB / 2.405 GB, free: 94.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/11.75, allocations: 1.862 MB / 2.407 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/11.75, allocations: 0 / 2.407 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/11.76, allocations: 3.267 MB / 2.41 GB, free: 92.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002755/11.76, allocations: 490 kB / 2.41 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007687/11.77, allocations: 3.828 kB / 2.41 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/11.77, allocations: 126.1 kB / 2.41 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/11.77, allocations: 72.11 kB / 2.41 GB, free: 92.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/11.77, allocations: 44.14 kB / 2.41 GB, free: 92.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004978/11.77, allocations: 1.68 MB / 2.412 GB, free: 92.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/11.77, allocations: 0 / 2.412 GB, free: 92.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008883/11.78, allocations: 1.395 MB / 2.413 GB, free: 92.49 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.01437/11.8, allocations: 4.644 MB / 2.418 GB, free: 91.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006122/11.8, allocations: 2.761 MB / 2.421 GB, free: 90.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/11.8, allocations: 3.562 kB / 2.421 GB, free: 90.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/11.8, allocations: 0.6414 MB / 2.421 GB, free: 90.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008376/11.81, allocations: 1.064 MB / 2.422 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/11.83, allocations: 4.506 MB / 2.427 GB, free: 89.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/11.83, allocations: 2.109 MB / 2.429 GB, free: 89.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008546/11.84, allocations: 1.391 MB / 2.43 GB, free: 89.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/11.84, allocations: 1.099 MB / 2.431 GB, free: 89.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/11.84, allocations: 0 / 2.431 GB, free: 89.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2095/12.05, allocations: 78 MB / 2.507 GB, free: 85.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/12.05, allocations: 159.4 kB / 2.508 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/20.49, allocations: 0 / 2.508 GB, free: 85.29 MB / 0.7136 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/linux/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)