Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5901/0.5901, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 216.7 MB, free: 8.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.553e-05, allocations: 2.281 kB / 216.7 MB, free: 8.637 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d): time 1.068/1.068, allocations: 253.3 MB / 470 MB, free: 9.738 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003153/1.071, allocations: 3.292 MB / 473.3 MB, free: 6.438 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/1.071, allocations: 4 kB / 473.3 MB, free: 6.434 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/1.071, allocations: 3.938 kB / 473.3 MB, free: 6.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/1.071, allocations: 19.84 kB / 473.3 MB, free: 6.41 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/1.073, allocations: 0.7495 MB / 474.1 MB, free: 5.656 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/1.073, allocations: 59.64 kB / 474.2 MB, free: 5.598 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.96e-05/1.073, allocations: 19.97 kB / 474.2 MB, free: 5.578 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.548e-05/1.073, allocations: 31.91 kB / 474.2 MB, free: 5.547 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/1.073, allocations: 27.95 kB / 474.2 MB, free: 5.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/1.073, allocations: 0 / 474.2 MB, free: 5.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/1.074, allocations: 0.5852 MB / 474.8 MB, free: 4.934 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/1.074, allocations: 8 kB / 474.8 MB, free: 4.926 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/1.074, allocations: 23.91 kB / 474.8 MB, free: 4.902 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/1.075, allocations: 0.7004 MB / 475.5 MB, free: 4.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.075, allocations: 4 kB / 475.6 MB, free: 4.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.075, allocations: 0 / 475.6 MB, free: 4.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/1.075, allocations: 0 / 475.6 MB, free: 4.195 MB / 426.7 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.0006404/1.076, allocations: 365.1 kB / 475.9 MB, free: 3.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.076, allocations: 8.031 kB / 475.9 MB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/1.076, allocations: 38.56 kB / 476 MB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/1.076, allocations: 7.922 kB / 476 MB, free: 3.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/1.076, allocations: 113.1 kB / 476.1 MB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/1.076, allocations: 11.94 kB / 476.1 MB, free: 3.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/1.076, allocations: 0 / 476.1 MB, free: 3.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/1.076, allocations: 73.55 kB / 476.2 MB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/1.076, allocations: 0 / 476.2 MB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.076, allocations: 4 kB / 476.2 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/1.076, allocations: 0 / 476.2 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.595e-05/1.076, allocations: 63.92 kB / 476.2 MB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/1.077, allocations: 247.9 kB / 476.5 MB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/1.077, allocations: 58.56 kB / 476.5 MB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/1.077, allocations: 28.97 kB / 476.5 MB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/1.078, allocations: 393.1 kB / 476.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.078, allocations: 34.56 kB / 477 MB, free: 2.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/1.078, allocations: 0 / 477 MB, free: 2.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002554/1.078, allocations: 105.5 kB / 477.1 MB, free: 2.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.078, allocations: 55.41 kB / 477.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/1.078, allocations: 113.8 kB / 477.2 MB, free: 2.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/1.078, allocations: 25.7 kB / 477.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/1.078, allocations: 96.02 kB / 477.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/1.078, allocations: 39.8 kB / 477.4 MB, free: 2.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/1.078, allocations: 29.64 kB / 477.4 MB, free: 2.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/1.078, allocations: 314.8 kB / 477.7 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/1.078, allocations: 19.98 kB / 477.7 MB, free: 1.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/1.078, allocations: 19.98 kB / 477.8 MB, free: 1.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/1.078, allocations: 52.8 kB / 477.8 MB, free: 1.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.078, allocations: 384 / 477.8 MB, free: 1.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001222/1.078, allocations: 97.56 kB / 477.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.079, allocations: 12 kB / 477.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.079, allocations: 0 / 477.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.079, allocations: 7.875 kB / 477.9 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.079, allocations: 23.98 kB / 478 MB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.079, allocations: 0 / 478 MB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/1.079, allocations: 4 kB / 478 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/1.079, allocations: 0 / 478 MB, free: 1.586 MB / 426.7 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.517e-05/1.079, allocations: 117.8 kB / 478.1 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/1.079, allocations: 11.94 kB / 478.1 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/1.079, allocations: 130 kB / 478.2 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.079, allocations: 3.938 kB / 478.2 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.079, allocations: 0 / 478.2 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.079, allocations: 0 / 478.2 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/1.079, allocations: 140.8 kB / 478.4 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.079, allocations: 0 / 478.4 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/1.079, allocations: 27.86 kB / 478.4 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.079, allocations: 0 / 478.4 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/1.079, allocations: 0 / 478.4 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.079, allocations: 3.938 kB / 478.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.079, allocations: 4 kB / 478.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/1.079, allocations: 187.9 kB / 478.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/1.079, allocations: 7.953 kB / 478.6 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/1.079, allocations: 4 kB / 478.6 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.12e-05/1.079, allocations: 3.938 kB / 478.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/1.079, allocations: 7.984 kB / 478.6 MB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/1.079, allocations: 4.25 kB / 478.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.961e-05/1.079, allocations: 91.27 kB / 478.7 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/1.079, allocations: 0 / 478.7 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003563/1.08, allocations: 175.4 kB / 478.9 MB, free: 0.6094 MB / 426.7 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 (11): * Single equations (assignments): 11 * 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.0008428/1.081, allocations: 1.043 MB / 479.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/1.081, allocations: 55.91 kB / 480 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.081, allocations: 0 / 480 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.14e-05/1.081, allocations: 31.92 kB / 480 MB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/1.081, allocations: 19.92 kB / 480 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.082, allocations: 1.448 MB / 481.5 MB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.308e-05/1.082, allocations: 71.2 kB / 481.5 MB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.185e-05/1.082, allocations: 20.41 kB / 481.5 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/1.082, allocations: 28.5 kB / 481.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of SimCode: time 6.22e-07/1.082, allocations: 0 / 481.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/1.106, allocations: 7.902 MB / 489.5 MB, free: 5.797 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.463, allocations: 0 / 489.5 MB, free: 5.797 MB / 442.7 MB " [Timeout remaining time 650] (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d_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_d.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.182347326539457] Failed to read output from testmodel.py, exit status != 0: 10.0077192094177 9.889438134 8.812964074 Calling exit ...