Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",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.00107/0.00107, allocations: 174.1 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.7176/0.7176, 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.57/1.57, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.0008634/0.0008633, allocations: 101.9 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.483e-05, allocations: 3.281 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.143, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.347, allocations: 364.5 MB / 0.9965 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/1.347, allocations: 95.66 kB / 0.9966 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.374/2.721, allocations: 489 MB / 1.474 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.132e-06/2.721, allocations: 0 / 1.474 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002058/2.721, allocations: 39.98 kB / 1.474 GB, free: 31.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003201/2.725, allocations: 1.528 MB / 1.476 GB, free: 30.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/2.725, allocations: 12.02 kB / 1.476 GB, free: 30.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002385/2.725, allocations: 122.6 kB / 1.476 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/2.726, allocations: 237.5 kB / 1.476 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/2.73, allocations: 1.943 MB / 1.478 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/2.73, allocations: 62 kB / 1.478 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/2.731, allocations: 88 kB / 1.478 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/2.732, allocations: 0.9179 MB / 1.479 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/2.732, allocations: 4 kB / 1.479 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/2.732, allocations: 35.95 kB / 1.479 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/2.732, allocations: 16 kB / 1.479 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009705/2.733, allocations: 0.6441 MB / 1.48 GB, free: 26.13 MB / 0.6823 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.005026/2.738, allocations: 4.608 MB / 1.484 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007464/2.739, allocations: 0.5342 MB / 1.485 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/2.739, allocations: 296.3 kB / 1.485 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002304/2.742, allocations: 1.702 MB / 1.487 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/2.742, allocations: 318.2 kB / 1.487 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005103/2.742, allocations: 111.5 kB / 1.487 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.805e-06/2.743, allocations: 0 / 1.487 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001077/2.744, allocations: 0.6484 MB / 1.488 GB, free: 17.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/2.744, allocations: 55.41 kB / 1.488 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/2.745, allocations: 1.113 MB / 1.489 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/2.745, allocations: 41.7 kB / 1.489 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/2.745, allocations: 0.6412 MB / 1.489 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/2.745, allocations: 169.7 kB / 1.49 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/2.746, allocations: 12 kB / 1.49 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/2.746, allocations: 330 kB / 1.49 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/2.746, allocations: 201.5 kB / 1.49 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/2.746, allocations: 0.5414 MB / 1.491 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/2.747, allocations: 313.3 kB / 1.491 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/2.747, allocations: 4 kB / 1.491 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001292/2.748, allocations: 0.9539 MB / 1.492 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005187/2.749, allocations: 3.045 MB / 1.495 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/2.749, allocations: 8 kB / 1.495 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/2.749, allocations: 140.5 kB / 1.495 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/2.749, allocations: 151.7 kB / 1.495 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005711/2.75, allocations: 0.7591 MB / 1.496 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/2.751, allocations: 83.77 kB / 1.496 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/2.751, allocations: 39.98 kB / 1.496 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/2.751, allocations: 7.953 kB / 1.496 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/2.752, allocations: 0.8623 MB / 1.497 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.752, allocations: 11.94 kB / 1.497 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/2.752, allocations: 96.81 kB / 1.497 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/2.753, allocations: 144 kB / 1.497 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/2.754, allocations: 2.196 MB / 1.499 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/2.755, allocations: 83.89 kB / 1.499 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/2.755, allocations: 43.94 kB / 1.499 GB, free: 4.832 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001489/2.755, allocations: 152.8 kB / 1.5 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/2.755, allocations: 126.4 kB / 1.5 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/2.757, allocations: 0.8348 MB / 1.5 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/2.757, allocations: 4 kB / 1.5 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/2.757, allocations: 0 / 1.5 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008009/2.758, allocations: 0.8202 MB / 1.501 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/2.76, allocations: 1.807 MB / 1.503 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.76, allocations: 0 / 1.503 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/2.76, allocations: 83.94 kB / 1.503 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/2.761, allocations: 128.8 kB / 1.503 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/2.761, allocations: 15.98 kB / 1.503 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4388/3.2, allocations: 0.7447 MB / 1.504 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/3.2, allocations: 1.797 kB / 1.504 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/3.202, allocations: 1.142 MB / 1.505 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008119/3.203, allocations: 268.9 kB / 1.505 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/3.203, allocations: 13.97 kB / 1.505 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/3.204, allocations: 70.45 kB / 1.505 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/3.205, allocations: 38.94 kB / 1.505 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/3.205, allocations: 31.12 kB / 1.506 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001829/3.206, allocations: 0.8756 MB / 1.506 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/3.206, allocations: 0 / 1.506 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003008/3.209, allocations: 0.725 MB / 1.507 GB, free: 131.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003776/3.213, allocations: 2.434 MB / 1.509 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002471/3.216, allocations: 1.265 MB / 1.511 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/3.216, allocations: 1.75 kB / 1.511 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/3.216, allocations: 304.4 kB / 1.511 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/3.219, allocations: 0.557 MB / 1.512 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/3.224, allocations: 2.083 MB / 1.514 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/3.225, allocations: 1.301 MB / 1.515 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002399/3.228, allocations: 0.5595 MB / 1.515 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/3.228, allocations: 484.8 kB / 1.516 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/3.228, allocations: 0 / 1.516 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08859/3.317, allocations: 44.02 MB / 1.559 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/3.317, allocations: 207.4 kB / 1.559 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/6.961, allocations: 3.391 kB / 1.559 GB, free: 127.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)