Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_dev_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.001815/0.001815, allocations: 99.62 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.002549/0.00255, allocations: 177.3 kB / 15.95 MB, free: 216 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.527/2.527, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.853/1.853, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006409, allocations: 8 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3243, allocations: 82.32 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.6517/0.9761, allocations: 24.77 MB / 0.6115 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.9968, allocations: 8.648 MB / 0.6199 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.9998, allocations: 36.12 kB / 0.62 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003127/1.003, allocations: 0.5258 MB / 0.6205 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008575/1.012, allocations: 1.366 MB / 0.6218 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007084/1.019, allocations: 1.32 MB / 0.6231 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00711/1.026, allocations: 2.214 MB / 0.6253 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002783/1.029, allocations: 1.007 MB / 0.6262 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/1.032, allocations: 1.015 MB / 0.6272 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/1.034, allocations: 0.7034 MB / 0.6279 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002927/1.035, allocations: 55.88 kB / 0.628 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/1.038, allocations: 0.7304 MB / 0.6287 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005199/1.039, allocations: 298.7 kB / 0.629 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009102/1.04, allocations: 313.5 kB / 0.6293 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/1.043, allocations: 1.746 MB / 0.631 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.043, allocations: 0 / 0.631 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.708e-06/1.043, allocations: 0 / 0.631 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.336e-05/1.043, allocations: 0 / 0.631 GB, free: 30.9 MB / 0.4981 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.005128/1.048, allocations: 1.703 MB / 0.6326 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/1.049, allocations: 8.562 kB / 0.6326 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000293/1.049, allocations: 125.2 kB / 0.6328 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/1.051, allocations: 251.8 kB / 0.633 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/1.055, allocations: 1.279 MB / 0.6343 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/1.055, allocations: 62.12 kB / 0.6343 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/1.055, allocations: 86.38 kB / 0.6344 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/1.058, allocations: 1 MB / 0.6354 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/1.058, allocations: 6.656 kB / 0.6354 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.058, allocations: 32.28 kB / 0.6354 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/1.058, allocations: 18.34 kB / 0.6354 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/1.06, allocations: 0.7803 MB / 0.6362 GB, free: 28.16 MB / 0.4981 GB 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.00924/1.07, allocations: 5.012 MB / 0.6411 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/1.072, allocations: 0.6339 MB / 0.6417 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003217/1.075, allocations: 1.886 MB / 0.6435 GB, free: 23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/1.076, allocations: 365.4 kB / 0.6439 GB, free: 22.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00056/1.076, allocations: 97.78 kB / 0.644 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 3.036e-06/1.076, allocations: 0 / 0.644 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.004433/1.081, allocations: 1.352 MB / 0.6453 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/1.081, allocations: 65.53 kB / 0.6454 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/1.083, allocations: 1.335 MB / 0.6467 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.083, allocations: 41.58 kB / 0.6467 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000703/1.084, allocations: 0.6378 MB / 0.6473 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/1.084, allocations: 151.7 kB / 0.6475 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/1.084, allocations: 14.66 kB / 0.6475 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/1.085, allocations: 336 kB / 0.6478 GB, free: 20.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008288/1.085, allocations: 264.8 kB / 0.6481 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.086, allocations: 0.6188 MB / 0.6487 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.088, allocations: 366.1 kB / 0.649 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/1.088, allocations: 2.125 kB / 0.649 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004186/1.092, allocations: 1.128 MB / 0.6501 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008944/1.093, allocations: 3.146 MB / 0.6532 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/1.093, allocations: 8.672 kB / 0.6532 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/1.094, allocations: 217.1 kB / 0.6534 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.095, allocations: 153 kB / 0.6536 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/1.097, allocations: 0.8604 MB / 0.6544 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.099, allocations: 99.48 kB / 0.6545 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.099, allocations: 39.19 kB / 0.6545 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.099, allocations: 3.875 kB / 0.6545 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003144/1.102, allocations: 0.8639 MB / 0.6554 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/1.102, allocations: 7.844 kB / 0.6554 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/1.103, allocations: 138.9 kB / 0.6555 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/1.104, allocations: 148.4 kB / 0.6557 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/1.108, allocations: 2.379 MB / 0.658 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.11, allocations: 89.53 kB / 0.6581 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.111, allocations: 43.02 kB / 0.6581 GB, free: 13.41 MB / 0.4981 GB 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.00213/1.113, allocations: 478.9 kB / 0.6586 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007576/1.113, allocations: 131.2 kB / 0.6587 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.118, allocations: 0.9321 MB / 0.6596 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.118, allocations: 6.156 kB / 0.6596 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.118, allocations: 9.094 kB / 0.6596 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002898/1.121, allocations: 0.9341 MB / 0.6605 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/1.129, allocations: 1.976 MB / 0.6625 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.129, allocations: 0 / 0.6625 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/1.13, allocations: 84.8 kB / 0.6625 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/1.13, allocations: 158.4 kB / 0.6627 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/1.13, allocations: 16.59 kB / 0.6627 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/1.132, allocations: 0.8101 MB / 0.6635 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/1.132, allocations: 5.922 kB / 0.6635 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/1.136, allocations: 1.315 MB / 0.6648 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/1.138, allocations: 284.6 kB / 0.6651 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/1.138, allocations: 11.59 kB / 0.6651 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.14, allocations: 86.62 kB / 0.6651 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/1.14, allocations: 45.83 kB / 0.6652 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.14, allocations: 22.11 kB / 0.6652 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002954/1.143, allocations: 0.9201 MB / 0.6661 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/1.143, allocations: 1.375 kB / 0.6661 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004986/1.148, allocations: 0.687 MB / 0.6668 GB, free: 9.152 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.006129/1.154, allocations: 2.212 MB / 0.6689 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006162/1.161, allocations: 1.403 MB / 0.6703 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/1.161, allocations: 5.25 kB / 0.6703 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.163, allocations: 351.2 kB / 0.6707 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006739/1.169, allocations: 0.5769 MB / 0.6712 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.191, allocations: 8.967 MB / 0.68 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002215/1.194, allocations: 1.297 MB / 0.6812 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002954/1.197, allocations: 306.9 kB / 0.6815 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.198, allocations: 0.5012 MB / 0.682 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.024e-06/1.198, allocations: 0 / 0.682 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/1.375, allocations: 37.2 MB / 0.7184 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004539/1.376, allocations: 236.4 kB / 0.7186 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.294/6.669, allocations: 3.938 kB / 0.7186 GB, free: 4.441 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: