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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001486/0.001487, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.353/2.353, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.273/1.273, allocations: 132.2 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006753/0.0006756, allocations: 8 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9432, allocations: 81.58 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.04853/0.9918, allocations: 24.8 MB / 0.6072 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02358/1.015, allocations: 8.657 MB / 0.6156 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003376/1.019, allocations: 32.06 kB / 0.6157 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003826/1.023, allocations: 0.5258 MB / 0.6162 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008883/1.032, allocations: 1.371 MB / 0.6175 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007428/1.039, allocations: 1.31 MB / 0.6188 GB, free: 9.148 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008883/1.048, allocations: 2.219 MB / 0.621 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003461/1.052, allocations: 1.004 MB / 0.6219 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/1.056, allocations: 1.02 MB / 0.6229 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/1.06, allocations: 0.695 MB / 0.6236 GB, free: 6.059 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004422/1.06, allocations: 56.44 kB / 0.6237 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004759/1.065, allocations: 0.736 MB / 0.6244 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007413/1.066, allocations: 299.5 kB / 0.6247 GB, free: 5.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/1.067, allocations: 315.2 kB / 0.625 GB, free: 5.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004433/1.071, allocations: 1.74 MB / 0.6267 GB, free: 3.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.071, allocations: 3.938 kB / 0.6267 GB, free: 3.711 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.3e-06/1.071, allocations: 0 / 0.6267 GB, free: 3.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.834e-05/1.071, allocations: 0 / 0.6267 GB, free: 3.711 MB / 462.1 MB 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.005502/1.077, allocations: 1.705 MB / 0.6283 GB, free: 1.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/1.077, allocations: 8.031 kB / 0.6283 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/1.077, allocations: 118.6 kB / 0.6285 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/1.079, allocations: 257.9 kB / 0.6287 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/1.082, allocations: 1.266 MB / 0.6299 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.082, allocations: 65.94 kB / 0.63 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/1.083, allocations: 88 kB / 0.6301 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/1.085, allocations: 1.011 MB / 0.6311 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.086, allocations: 0 / 0.6311 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.086, allocations: 32 kB / 0.6311 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/1.086, allocations: 20 kB / 0.6311 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/1.088, allocations: 0.7805 MB / 0.6319 GB, free: 14.19 MB / 478.1 MB 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.009707/1.098, allocations: 5.011 MB / 0.6368 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/1.1, allocations: 0.6342 MB / 0.6374 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004625/1.105, allocations: 1.878 MB / 0.6392 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/1.106, allocations: 363 kB / 0.6396 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007557/1.107, allocations: 99.45 kB / 0.6397 GB, free: 5.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 6.573e-06/1.107, allocations: 0 / 0.6397 GB, free: 5.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.005825/1.113, allocations: 1.366 MB / 0.641 GB, free: 4.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/1.113, allocations: 59.41 kB / 0.6411 GB, free: 4.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/1.116, allocations: 1.333 MB / 0.6424 GB, free: 2.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/1.116, allocations: 37.7 kB / 0.6424 GB, free: 2.855 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/1.117, allocations: 0.6411 MB / 0.643 GB, free: 2.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/1.117, allocations: 149.9 kB / 0.6432 GB, free: 2.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/1.117, allocations: 15.98 kB / 0.6432 GB, free: 2.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002564/1.117, allocations: 334 kB / 0.6435 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009369/1.118, allocations: 265.8 kB / 0.6438 GB, free: 1.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/1.12, allocations: 0.6168 MB / 0.6444 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.121, allocations: 370.2 kB / 0.6447 GB, free: 320 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.121, allocations: 4 kB / 0.6447 GB, free: 316 kB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004066/1.125, allocations: 1.13 MB / 0.6458 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002072/1.127, allocations: 3.133 MB / 0.6489 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/1.127, allocations: 8 kB / 0.6489 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/1.128, allocations: 224.6 kB / 0.6491 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/1.129, allocations: 151.7 kB / 0.6492 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/1.131, allocations: 0.864 MB / 0.6501 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.133, allocations: 107.1 kB / 0.6502 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/1.133, allocations: 43.98 kB / 0.6502 GB, free: 10.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.133, allocations: 6.656 kB / 0.6502 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002499/1.135, allocations: 0.8558 MB / 0.6511 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.135, allocations: 8 kB / 0.6511 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/1.136, allocations: 145.1 kB / 0.6512 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.137, allocations: 143.7 kB / 0.6514 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/1.141, allocations: 2.384 MB / 0.6537 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.143, allocations: 88.44 kB / 0.6538 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.143, allocations: 43.98 kB / 0.6538 GB, free: 6.598 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.001359/1.144, allocations: 472.8 kB / 0.6543 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/1.145, allocations: 130.4 kB / 0.6544 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/1.148, allocations: 0.9304 MB / 0.6553 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/1.148, allocations: 11.98 kB / 0.6553 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.148, allocations: 4 kB / 0.6553 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002537/1.151, allocations: 0.935 MB / 0.6562 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006916/1.157, allocations: 1.967 MB / 0.6581 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.158, allocations: 0 / 0.6581 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/1.158, allocations: 91.86 kB / 0.6582 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000551/1.159, allocations: 152.7 kB / 0.6584 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/1.159, allocations: 15.98 kB / 0.6584 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.16, allocations: 0.8098 MB / 0.6592 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.16, allocations: 0 / 0.6592 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/1.165, allocations: 1.323 MB / 0.6605 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.166, allocations: 291.3 kB / 0.6608 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.166, allocations: 12 kB / 0.6608 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.168, allocations: 79.89 kB / 0.6608 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.168, allocations: 52.27 kB / 0.6609 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/1.168, allocations: 19.98 kB / 0.6609 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002244/1.17, allocations: 0.9248 MB / 0.6618 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.17, allocations: 0 / 0.6618 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003611/1.174, allocations: 0.6902 MB / 0.6625 GB, free: 13.44 MB / 0.4981 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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.005891/1.18, allocations: 2.205 MB / 0.6646 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005061/1.185, allocations: 1.394 MB / 0.666 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.185, allocations: 0 / 0.666 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.186, allocations: 351.2 kB / 0.6663 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/1.191, allocations: 0.5743 MB / 0.6669 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/1.205, allocations: 8.981 MB / 0.6757 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.207, allocations: 1.299 MB / 0.6769 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00236/1.209, allocations: 302.6 kB / 0.6772 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.211, allocations: 0.4953 MB / 0.6777 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/1.211, allocations: 0 / 0.6777 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.321, allocations: 37.19 MB / 0.714 GB, free: 8.871 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/1.322, allocations: 233.1 kB / 0.7143 GB, free: 8.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.699/6.02, allocations: 3.938 kB / 0.7143 GB, free: 8.625 MB / 0.545 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) Environment - environmentSimulation: