Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",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.001799/0.001799, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.00234/0.00234, allocations: 173.3 kB / 15.95 MB, free: 212 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.374/2.374, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9891/0.9891, allocations: 132.3 MB / 423.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 8 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.6989, allocations: 81.58 MB / 0.583 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.04291/0.7419, allocations: 27.4 MB / 0.6097 GB, free: 288 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02375/0.7657, allocations: 9.131 MB / 0.6186 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.7687, allocations: 41.75 kB / 0.6187 GB, free: 9.008 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.7726, allocations: 0.5589 MB / 0.6192 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007924/0.7806, allocations: 1.485 MB / 0.6207 GB, free: 7.332 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006016/0.7866, allocations: 1.342 MB / 0.622 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007829/0.7944, allocations: 2.845 MB / 0.6248 GB, free: 4.629 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004568/0.7991, allocations: 1.616 MB / 0.6263 GB, free: 3.645 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006401/0.8055, allocations: 1.329 MB / 0.6276 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003329/0.8089, allocations: 0.9217 MB / 0.6285 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007389/0.8097, allocations: 68 kB / 0.6286 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.8135, allocations: 0.7685 MB / 0.6294 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.8145, allocations: 354.6 kB / 0.6297 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.8159, allocations: 408.6 kB / 0.6301 GB, free: 116 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00452/0.8205, allocations: 2.12 MB / 0.6322 GB, free: 13.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.8205, allocations: 0 / 0.6322 GB, free: 13.99 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.8205, allocations: 0 / 0.6322 GB, free: 13.99 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.8207, allocations: 0 / 0.6322 GB, free: 13.99 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005916/0.8266, allocations: 2.073 MB / 0.6342 GB, free: 11.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.8267, allocations: 12.03 kB / 0.6342 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005807/0.8273, allocations: 147.8 kB / 0.6343 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.8291, allocations: 309.2 kB / 0.6346 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.834, allocations: 1.579 MB / 0.6362 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.8343, allocations: 82 kB / 0.6362 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/0.8347, allocations: 104 kB / 0.6363 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.838, allocations: 1.311 MB / 0.6376 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.8381, allocations: 3.938 kB / 0.6376 GB, free: 8.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.8382, allocations: 40 kB / 0.6377 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.8383, allocations: 24 kB / 0.6377 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.8409, allocations: 1.046 MB / 0.6387 GB, free: 7.07 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.01112/0.852, allocations: 6.938 MB / 0.6455 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.8536, allocations: 0.6528 MB / 0.6461 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003533/0.8572, allocations: 1.869 MB / 0.648 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008694/0.8581, allocations: 405 kB / 0.6483 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008274/0.8589, allocations: 111.2 kB / 0.6484 GB, free: 12.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 4.078e-06/0.8589, allocations: 4 kB / 0.6484 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.004447/0.8634, allocations: 1.51 MB / 0.6499 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.8635, allocations: 55.41 kB / 0.65 GB, free: 10.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.8662, allocations: 1.863 MB / 0.6518 GB, free: 8.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.8664, allocations: 41.7 kB / 0.6518 GB, free: 8.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.8673, allocations: 0.8543 MB / 0.6527 GB, free: 8.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.8675, allocations: 161.8 kB / 0.6528 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.8675, allocations: 16 kB / 0.6528 GB, free: 7.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8677, allocations: 337.9 kB / 0.6532 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007861/0.8685, allocations: 309.8 kB / 0.6535 GB, free: 7.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.8696, allocations: 0.7721 MB / 0.6542 GB, free: 6.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.8705, allocations: 446.3 kB / 0.6546 GB, free: 5.801 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.8705, allocations: 4 kB / 0.6546 GB, free: 5.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003266/0.8738, allocations: 1.335 MB / 0.6559 GB, free: 4.441 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001895/0.8757, allocations: 4.222 MB / 0.6601 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.8757, allocations: 12 kB / 0.6601 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/0.8767, allocations: 227.6 kB / 0.6603 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.8775, allocations: 187.6 kB / 0.6605 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009411/0.8785, allocations: 0.8372 MB / 0.6613 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.8803, allocations: 128.4 kB / 0.6614 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.8804, allocations: 51.97 kB / 0.6615 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8805, allocations: 4 kB / 0.6615 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002008/0.8825, allocations: 1.012 MB / 0.6625 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8825, allocations: 8 kB / 0.6625 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.883, allocations: 165.5 kB / 0.6626 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.8836, allocations: 163.7 kB / 0.6628 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.8868, allocations: 2.392 MB / 0.6651 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.8888, allocations: 116.5 kB / 0.6652 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.889, allocations: 47.98 kB / 0.6653 GB, free: 10.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001646/0.8906, allocations: 0.5864 MB / 0.6658 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/0.8912, allocations: 173.8 kB / 0.666 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.894, allocations: 1.074 MB / 0.6671 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.894, allocations: 4 kB / 0.6671 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.894, allocations: 0 / 0.6671 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001848/0.8959, allocations: 1.011 MB / 0.668 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.9009, allocations: 2.3 MB / 0.6703 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9009, allocations: 4.062 kB / 0.6703 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.9014, allocations: 95.86 kB / 0.6704 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/0.9018, allocations: 140.7 kB / 0.6705 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.9019, allocations: 15.92 kB / 0.6705 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007453/0.9026, allocations: 0.8204 MB / 0.6713 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9026, allocations: 0 / 0.6713 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.9057, allocations: 1.493 MB / 0.6728 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.9068, allocations: 342.7 kB / 0.6731 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.907, allocations: 12 kB / 0.6731 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.9081, allocations: 103.9 kB / 0.6732 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.9082, allocations: 40.38 kB / 0.6733 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.9083, allocations: 27.94 kB / 0.6733 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002137/0.9104, allocations: 1.29 MB / 0.6746 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9104, allocations: 0 / 0.6746 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003095/0.9135, allocations: 0.858 MB / 0.6754 GB, free: 15.72 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.004428/0.918, allocations: 2.393 MB / 0.6777 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.9214, allocations: 1.512 MB / 0.6792 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9214, allocations: 0 / 0.6792 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.9223, allocations: 367.2 kB / 0.6796 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/0.927, allocations: 0.8356 MB / 0.6804 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.9385, allocations: 11.98 MB / 0.6921 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.9399, allocations: 1.531 MB / 0.6936 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002016/0.9419, allocations: 425.3 kB / 0.694 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.9429, allocations: 0.6633 MB / 0.6946 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/0.9429, allocations: 0 / 0.6946 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.044, allocations: 47.88 MB / 0.7414 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/1.044, allocations: 238.7 kB / 0.7416 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.827/5.871, allocations: 0 / 0.7416 GB, free: 11.98 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: