Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8053/0.8053, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 15.3 kB / 236.6 MB, free: 2.016 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07737/0.07777, allocations: 31.34 MB / 267.9 MB, free: 7.578 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T): time 1.783/1.861, allocations: 293.8 MB / 0.5485 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003752/1.864, allocations: 3.281 MB / 0.5517 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/1.864, allocations: 0 / 0.5517 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/1.864, allocations: 0 / 0.5517 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/1.865, allocations: 19.84 kB / 0.5517 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/1.866, allocations: 429.7 kB / 0.5521 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.526e-05/1.866, allocations: 59.67 kB / 0.5522 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/1.866, allocations: 27.19 kB / 0.5522 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/1.866, allocations: 19.92 kB / 0.5522 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/1.866, allocations: 27.91 kB / 0.5523 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/1.866, allocations: 4 kB / 0.5523 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/1.867, allocations: 351.5 kB / 0.5526 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/1.867, allocations: 11.94 kB / 0.5526 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/1.867, allocations: 27.86 kB / 0.5527 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/1.867, allocations: 373.7 kB / 0.553 GB, free: 9.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.867, allocations: 0 / 0.553 GB, free: 9.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/1.867, allocations: 0 / 0.553 GB, free: 9.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/1.867, allocations: 4 kB / 0.553 GB, free: 9.379 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004819/1.868, allocations: 412.5 kB / 0.5534 GB, free: 8.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/1.868, allocations: 8.031 kB / 0.5534 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/1.868, allocations: 38.75 kB / 0.5534 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/1.868, allocations: 4.891 kB / 0.5535 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.868, allocations: 172.3 kB / 0.5536 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/1.868, allocations: 4.375 kB / 0.5536 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/1.868, allocations: 8.359 kB / 0.5536 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/1.868, allocations: 61.8 kB / 0.5537 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/1.868, allocations: 4 kB / 0.5537 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/1.868, allocations: 8 kB / 0.5537 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/1.868, allocations: 0 / 0.5537 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/1.868, allocations: 91.83 kB / 0.5538 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/1.869, allocations: 173.6 kB / 0.554 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/1.869, allocations: 74.5 kB / 0.554 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/1.869, allocations: 24.84 kB / 0.554 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001815/1.871, allocations: 2.628 MB / 0.5566 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.871, allocations: 38.48 kB / 0.5567 GB, free: 4.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/1.871, allocations: 4 kB / 0.5567 GB, free: 4.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002609/1.871, allocations: 116.2 kB / 0.5568 GB, free: 4.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.871, allocations: 59.41 kB / 0.5568 GB, free: 4.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/1.871, allocations: 97.84 kB / 0.5569 GB, free: 4.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/1.871, allocations: 29.7 kB / 0.5569 GB, free: 4.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/1.871, allocations: 84.12 kB / 0.557 GB, free: 4.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/1.871, allocations: 35.64 kB / 0.5571 GB, free: 4.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/1.871, allocations: 29.7 kB / 0.5571 GB, free: 4.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/1.871, allocations: 322.8 kB / 0.5574 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/1.871, allocations: 16 kB / 0.5574 GB, free: 4.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/1.871, allocations: 23.98 kB / 0.5574 GB, free: 4.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/1.872, allocations: 54.81 kB / 0.5575 GB, free: 3.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.872, allocations: 0 / 0.5575 GB, free: 3.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000138/1.872, allocations: 101.5 kB / 0.5576 GB, free: 3.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.872, allocations: 4 kB / 0.5576 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.872, allocations: 4 kB / 0.5576 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.872, allocations: 0 / 0.5576 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.872, allocations: 23.92 kB / 0.5576 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.872, allocations: 0 / 0.5576 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/1.872, allocations: 0 / 0.5576 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/1.872, allocations: 8 kB / 0.5576 GB, free: 3.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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 7.859e-05/1.872, allocations: 118.4 kB / 0.5577 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/1.872, allocations: 7.891 kB / 0.5577 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/1.872, allocations: 145.3 kB / 0.5579 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.872, allocations: 4 kB / 0.5579 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.872, allocations: 0 / 0.5579 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.872, allocations: 4 kB / 0.5579 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/1.873, allocations: 177.6 kB / 0.5581 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.873, allocations: 0 / 0.5581 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/1.873, allocations: 23.92 kB / 0.5581 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.873, allocations: 0 / 0.5581 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/1.873, allocations: 4 kB / 0.5581 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.873, allocations: 7.938 kB / 0.5581 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.873, allocations: 3.938 kB / 0.5581 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/1.873, allocations: 131.6 kB / 0.5582 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/1.873, allocations: 85 kB / 0.5583 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/1.873, allocations: 4 kB / 0.5583 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/1.873, allocations: 7.984 kB / 0.5583 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/1.873, allocations: 4 kB / 0.5583 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/1.873, allocations: 4 kB / 0.5583 GB, free: 3.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.13e-05/1.873, allocations: 79.27 kB / 0.5584 GB, free: 2.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.873, allocations: 0 / 0.5584 GB, free: 2.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003343/1.873, allocations: 119.6 kB / 0.5585 GB, free: 2.824 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0008166/1.874, allocations: 0.866 MB / 0.5594 GB, free: 1.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/1.874, allocations: 63.92 kB / 0.5594 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.874, allocations: 0 / 0.5594 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.344e-05/1.874, allocations: 35.98 kB / 0.5595 GB, free: 1.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/1.875, allocations: 19.98 kB / 0.5595 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/1.876, allocations: 1.358 MB / 0.5608 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/1.876, allocations: 0.6846 MB / 0.5615 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/1.876, allocations: 20.34 kB / 0.5615 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/1.876, allocations: 15.44 kB / 0.5615 GB, free: 15.63 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/1.876, allocations: 4 kB / 0.5615 GB, free: 15.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/1.898, allocations: 5.241 MB / 0.5666 GB, free: 10.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/10.68, allocations: 0 / 0.5666 GB, free: 10.51 MB / 462.1 MB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe 2>&1)