Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.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_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",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.741/0.741, allocations: 150.9 MB / 166 MB, free: 14.55 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 23.97 kB / 204.1 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 31.32 MB / 235.4 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_p): time 1.694/1.867, allocations: 292.9 MB / 0.5159 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04683/1.914, allocations: 32.94 MB / 0.5481 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/1.914, allocations: 4 kB / 0.5481 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/1.915, allocations: 107.5 kB / 0.5482 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/1.915, allocations: 39.75 kB / 0.5482 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02143/1.936, allocations: 6.12 MB / 0.5542 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/1.936, allocations: 119.4 kB / 0.5543 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.04e-05/1.936, allocations: 25.03 kB / 0.5543 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/1.937, allocations: 67.59 kB / 0.5544 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/1.937, allocations: 35.8 kB / 0.5544 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/1.937, allocations: 4 kB / 0.5544 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03039/1.967, allocations: 14.65 MB / 0.5688 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/1.967, allocations: 7.938 kB / 0.5688 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/1.967, allocations: 43.73 kB / 0.5688 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0193/1.987, allocations: 7.275 MB / 0.5759 GB, free: 1.137 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.987, allocations: 0 / 0.5759 GB, free: 1.137 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/1.987, allocations: 0 / 0.5759 GB, free: 1.137 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/1.987, allocations: 0 / 0.5759 GB, free: 1.137 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00399/1.991, allocations: 1.15 MB / 0.577 GB, free: 15.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/1.991, allocations: 8.031 kB / 0.577 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/1.991, allocations: 46.55 kB / 0.5771 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/1.991, allocations: 11.84 kB / 0.5771 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/1.991, allocations: 175.7 kB / 0.5773 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.991, allocations: 4 kB / 0.5773 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/1.991, allocations: 4 kB / 0.5773 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.991, allocations: 102.6 kB / 0.5774 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.991, allocations: 0 / 0.5774 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.991, allocations: 0 / 0.5774 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/1.991, allocations: 10.5 kB / 0.5774 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/1.992, allocations: 119.8 kB / 0.5775 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/1.992, allocations: 217.5 kB / 0.5777 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/1.992, allocations: 110.5 kB / 0.5778 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/1.992, allocations: 68.83 kB / 0.5779 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1138/2.106, allocations: 56.05 MB / 0.6326 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/2.106, allocations: 38.56 kB / 0.6326 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/2.106, allocations: 0 / 0.6326 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.000436/2.106, allocations: 229.4 kB / 0.6329 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/2.106, allocations: 59.41 kB / 0.6329 GB, free: 464 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/2.106, allocations: 101.8 kB / 0.633 GB, free: 352 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/2.106, allocations: 25.7 kB / 0.633 GB, free: 320 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/2.107, allocations: 84.7 kB / 0.6331 GB, free: 232 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/2.107, allocations: 98.48 kB / 0.6332 GB, free: 132 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/2.107, allocations: 37.7 kB / 0.6333 GB, free: 88 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001352/2.107, allocations: 318.8 kB / 0.6336 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/2.107, allocations: 47.98 kB / 0.6336 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/2.107, allocations: 51.97 kB / 0.6337 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/2.107, allocations: 129.8 kB / 0.6338 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/2.107, allocations: 0 / 0.6338 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002193/2.107, allocations: 169.4 kB / 0.6339 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/2.107, allocations: 8 kB / 0.6339 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/2.107, allocations: 3.984 kB / 0.6339 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/2.107, allocations: 0 / 0.6339 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/2.108, allocations: 16 kB / 0.634 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/2.108, allocations: 0 / 0.634 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/2.108, allocations: 15.84 kB / 0.634 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/2.108, allocations: 4 kB / 0.634 GB, free: 15.32 MB / 0.5294 GB 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): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.142e-05/2.108, allocations: 121.8 kB / 0.6341 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/2.108, allocations: 11.81 kB / 0.6341 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/2.108, allocations: 210.6 kB / 0.6343 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/2.108, allocations: 4.609 kB / 0.6343 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/2.108, allocations: 3.984 kB / 0.6343 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/2.108, allocations: 0 / 0.6343 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/2.108, allocations: 217.4 kB / 0.6345 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/2.108, allocations: 0 / 0.6345 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/2.108, allocations: 16 kB / 0.6345 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/2.108, allocations: 0 / 0.6345 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/2.108, allocations: 7.984 kB / 0.6345 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/2.108, allocations: 0 / 0.6345 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/2.108, allocations: 0 / 0.6345 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/2.109, allocations: 209.8 kB / 0.6347 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/2.109, allocations: 100.8 kB / 0.6348 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/2.109, allocations: 0 / 0.6348 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/2.109, allocations: 0 / 0.6348 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/2.109, allocations: 11.98 kB / 0.6349 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/2.109, allocations: 8 kB / 0.6349 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.283e-05/2.109, allocations: 79.28 kB / 0.6349 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/2.109, allocations: 0 / 0.6349 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002726/2.112, allocations: 1.011 MB / 0.6359 GB, free: 13.22 MB / 0.5294 GB 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00536/2.117, allocations: 2.255 MB / 0.6381 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002777/2.117, allocations: 139.9 kB / 0.6383 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.117, allocations: 0 / 0.6383 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/2.117, allocations: 75.92 kB / 0.6383 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/2.118, allocations: 45.05 kB / 0.6384 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/2.121, allocations: 2.018 MB / 0.6403 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/2.121, allocations: 0.7041 MB / 0.641 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.297e-05/2.121, allocations: 16.48 kB / 0.6411 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/2.121, allocations: 35.42 kB / 0.6411 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/2.121, allocations: 0 / 0.6411 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/2.195, allocations: 40.02 MB / 0.6802 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/2.196, allocations: 222.7 kB / 0.6804 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.945/6.141, allocations: 0 / 0.6804 GB, free: 15.65 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)