Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",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.00481/0.00481, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00114/0.00114, allocations: 197.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8645/0.8645, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 0.5851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3475, allocations: 80.91 MB / 0.6641 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001367/0.3489, allocations: 0.5277 MB / 0.6647 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001577/0.349, allocations: 52.08 kB / 0.6647 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.3491, allocations: 0 / 0.6647 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.3491, allocations: 5.312 kB / 0.6647 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.3493, allocations: 1.312 kB / 0.6647 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.234e-05/0.3493, allocations: 5.312 kB / 0.6647 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.757e-05/0.3494, allocations: 12.7 kB / 0.6647 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.3494, allocations: 1.156 kB / 0.6647 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.3495, allocations: 2.344 kB / 0.6647 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.3495, allocations: 12.3 kB / 0.6647 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3495, allocations: 1.25 kB / 0.6647 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-06/0.3496, allocations: 0 / 0.6647 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.3496, allocations: 6.766 kB / 0.6648 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.3496, allocations: 13.16 kB / 0.6648 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.286e-05/0.3497, allocations: 7.891 kB / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3497, allocations: 0 / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3497, allocations: 0 / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3497, allocations: 0 / 0.6648 GB, free: 6.84 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003096/0.35, allocations: 327.6 kB / 0.6651 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3501, allocations: 9.062 kB / 0.6651 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.022e-05/0.3501, allocations: 38.69 kB / 0.6651 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.3501, allocations: 2.406 kB / 0.6651 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3503, allocations: 173.5 kB / 0.6653 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-06/0.3503, allocations: 5.625 kB / 0.6653 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3503, allocations: 5.531 kB / 0.6653 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.812e-05/0.3503, allocations: 32.31 kB / 0.6653 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3504, allocations: 0 / 0.6653 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.3504, allocations: 0 / 0.6653 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3504, allocations: 1.125 kB / 0.6653 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.3504, allocations: 2.344 kB / 0.6653 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.778e-05/0.3505, allocations: 153.5 kB / 0.6655 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.213e-05/0.3505, allocations: 29.98 kB / 0.6655 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.3506, allocations: 19.5 kB / 0.6655 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.3506, allocations: 0 / 0.6655 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.039e-05/0.3506, allocations: 31.97 kB / 0.6656 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3506, allocations: 0 / 0.6656 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.3507, allocations: 39.38 kB / 0.6656 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.3507, allocations: 56.47 kB / 0.6657 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.3508, allocations: 112.1 kB / 0.6658 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.3508, allocations: 29.64 kB / 0.6658 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.3508, allocations: 85.39 kB / 0.6659 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.3509, allocations: 3.953 kB / 0.6659 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.3509, allocations: 16.23 kB / 0.6659 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.3509, allocations: 316.3 kB / 0.6662 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.351, allocations: 2.969 kB / 0.6662 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.351, allocations: 21.33 kB / 0.6662 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.351, allocations: 17.34 kB / 0.6662 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.351, allocations: 0 / 0.6662 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.914e-05/0.3511, allocations: 54 kB / 0.6663 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3511, allocations: 5.406 kB / 0.6663 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3511, allocations: 1.312 kB / 0.6663 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3511, allocations: 128 / 0.6663 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.3512, allocations: 11.77 kB / 0.6663 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3512, allocations: 1.094 kB / 0.6663 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.3512, allocations: 5.344 kB / 0.6663 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3512, allocations: 1.375 kB / 0.6663 GB, free: 5.137 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.3513, allocations: 112.9 kB / 0.6664 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.3513, allocations: 5.406 kB / 0.6664 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.3514, allocations: 51.67 kB / 0.6665 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3514, allocations: 0 / 0.6665 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3514, allocations: 5.906 kB / 0.6665 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3514, allocations: 0 / 0.6665 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.916e-05/0.3515, allocations: 166.1 kB / 0.6666 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3515, allocations: 0 / 0.6666 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.3515, allocations: 2.875 kB / 0.6666 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3515, allocations: 1.375 kB / 0.6666 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3515, allocations: 3.938 kB / 0.6666 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3515, allocations: 1.531 kB / 0.6667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3516, allocations: 0 / 0.6667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.538e-05/0.3517, allocations: 93.78 kB / 0.6667 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.3517, allocations: 78.55 kB / 0.6668 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3517, allocations: 1.375 kB / 0.6668 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.3517, allocations: 0 / 0.6668 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.3517, allocations: 5.078 kB / 0.6668 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3517, allocations: 1.25 kB / 0.6668 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.3518, allocations: 85.59 kB / 0.6669 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3518, allocations: 0 / 0.6669 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001718/0.352, allocations: 7.469 kB / 0.6669 GB, free: 4.477 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.3522, allocations: 0.6179 MB / 0.6675 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.483e-05/0.3523, allocations: 16.67 kB / 0.6675 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3523, allocations: 224 / 0.6675 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.3523, allocations: 9.469 kB / 0.6675 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.3524, allocations: 10.55 kB / 0.6675 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.3531, allocations: 1.151 MB / 0.6687 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.02e-05/0.3532, allocations: 0.6747 MB / 0.6693 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.3532, allocations: 5.078 kB / 0.6693 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.3532, allocations: 9.656 kB / 0.6693 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.3532, allocations: 0 / 0.6693 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.3692, allocations: 1.181 MB / 0.6705 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.615, allocations: 13.3 kB / 0.6705 GB, free: 1.273 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)