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 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8052/0.8052, allocations: 150.9 MB / 166.4 MB, free: 14.18 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004675, allocations: 15.97 kB / 204.6 MB, free: 9.516 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 31.33 MB / 236 MB, free: 5.422 MB / 190.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_d): time 1.567/1.704, allocations: 293.7 MB / 0.5172 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004119/1.708, allocations: 3.684 MB / 0.5208 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/1.708, allocations: 5.125 kB / 0.5208 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/1.708, allocations: 7.922 kB / 0.5208 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/1.708, allocations: 11.86 kB / 0.5209 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/1.71, allocations: 0.7304 MB / 0.5216 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.453e-05/1.71, allocations: 56.86 kB / 0.5216 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/1.71, allocations: 19.97 kB / 0.5216 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/1.71, allocations: 23.91 kB / 0.5217 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/1.71, allocations: 30.33 kB / 0.5217 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/1.71, allocations: 0 / 0.5217 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/1.711, allocations: 0.6048 MB / 0.5223 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/1.711, allocations: 11.97 kB / 0.5223 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/1.711, allocations: 19.88 kB / 0.5223 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008433/1.712, allocations: 0.6112 MB / 0.5229 GB, free: 8.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.712, allocations: 0.5 kB / 0.5229 GB, free: 8.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/1.712, allocations: 5.406 kB / 0.5229 GB, free: 8.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/1.712, allocations: 3.938 kB / 0.5229 GB, free: 8.555 MB / 414.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.0004766/1.712, allocations: 432 kB / 0.5233 GB, free: 8.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.713, allocations: 12.66 kB / 0.5233 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/1.713, allocations: 35.16 kB / 0.5234 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/1.713, allocations: 7.906 kB / 0.5234 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/1.713, allocations: 177.6 kB / 0.5236 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/1.713, allocations: 4 kB / 0.5236 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/1.713, allocations: 8 kB / 0.5236 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/1.713, allocations: 60.5 kB / 0.5236 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/1.713, allocations: 1.281 kB / 0.5236 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/1.713, allocations: 0 / 0.5236 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.713, allocations: 4 kB / 0.5236 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/1.713, allocations: 68.55 kB / 0.5237 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/1.713, allocations: 440.8 kB / 0.5241 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/1.714, allocations: 66.5 kB / 0.5242 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/1.714, allocations: 24.84 kB / 0.5242 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002585/1.716, allocations: 3.306 MB / 0.5274 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.716, allocations: 34.56 kB / 0.5275 GB, free: 2.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/1.716, allocations: 0 / 0.5275 GB, free: 2.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002576/1.717, allocations: 103.2 kB / 0.5276 GB, free: 2.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/1.717, allocations: 53.75 kB / 0.5276 GB, free: 2.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/1.717, allocations: 113.8 kB / 0.5277 GB, free: 2.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/1.717, allocations: 25.7 kB / 0.5277 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/1.717, allocations: 88.05 kB / 0.5278 GB, free: 2.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/1.717, allocations: 35.45 kB / 0.5279 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/1.717, allocations: 23.31 kB / 0.5279 GB, free: 2.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/1.717, allocations: 322.8 kB / 0.5282 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/1.717, allocations: 21.31 kB / 0.5282 GB, free: 2.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/1.717, allocations: 19.98 kB / 0.5282 GB, free: 2.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.821e-05/1.717, allocations: 53.22 kB / 0.5283 GB, free: 2.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.717, allocations: 1.031 kB / 0.5283 GB, free: 2.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001577/1.717, allocations: 95.16 kB / 0.5284 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.717, allocations: 9.547 kB / 0.5284 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.717, allocations: 9.031 kB / 0.5284 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/1.717, allocations: 0 / 0.5284 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/1.717, allocations: 19.94 kB / 0.5284 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.718, allocations: 5.516 kB / 0.5284 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/1.718, allocations: 11.84 kB / 0.5284 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/1.718, allocations: 7.984 kB / 0.5284 GB, free: 1.941 MB / 414.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 6.853e-05/1.718, allocations: 110.5 kB / 0.5285 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/1.718, allocations: 8.719 kB / 0.5286 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/1.718, allocations: 123 kB / 0.5287 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.718, allocations: 0.5625 kB / 0.5287 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.718, allocations: 0.7812 kB / 0.5287 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.718, allocations: 3.984 kB / 0.5287 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/1.718, allocations: 182.3 kB / 0.5288 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.718, allocations: 0 / 0.5288 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/1.718, allocations: 16 kB / 0.5289 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.718, allocations: 0.625 kB / 0.5289 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.718, allocations: 5.344 kB / 0.5289 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.718, allocations: 3.984 kB / 0.5289 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.718, allocations: 0 / 0.5289 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/1.718, allocations: 194.5 kB / 0.5291 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/1.719, allocations: 89 kB / 0.5291 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/1.719, allocations: 3.938 kB / 0.5291 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/1.719, allocations: 1.438 kB / 0.5291 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/1.719, allocations: 4.25 kB / 0.5292 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.719, allocations: 11.98 kB / 0.5292 GB, free: 1.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.59e-05/1.719, allocations: 84.72 kB / 0.5292 GB, free: 1.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.719, allocations: 0 / 0.5292 GB, free: 1.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004678/1.719, allocations: 175.8 kB / 0.5294 GB, free: 0.8594 MB / 414.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 (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.0009588/1.72, allocations: 1.018 MB / 0.5304 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/1.72, allocations: 69.69 kB / 0.5305 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.72, allocations: 0 / 0.5305 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/1.72, allocations: 31.92 kB / 0.5305 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/1.721, allocations: 17.11 kB / 0.5305 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.722, allocations: 1.434 MB / 0.5319 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/1.722, allocations: 0.6852 MB / 0.5326 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.483e-05/1.722, allocations: 21.66 kB / 0.5326 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/1.722, allocations: 20.97 kB / 0.5326 GB, free: 13.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/1.722, allocations: 0 / 0.5326 GB, free: 13.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/1.746, allocations: 7.046 MB / 0.5395 GB, free: 6.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/9.307, allocations: 6.75 kB / 0.5395 GB, free: 6.691 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)