Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",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.0006748/0.0006748, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007372/0.0007371, allocations: 175.2 kB / 16.58 MB, free: 6.066 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.173/1.173, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6192/0.6192, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8.219 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001053/0.1174, allocations: 0.9744 MB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3305/0.4479, allocations: 124.9 MB / 0.6798 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.448, allocations: 0 / 0.6798 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.448, allocations: 3.984 kB / 0.6798 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.4481, allocations: 15.92 kB / 0.6798 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.4489, allocations: 349 kB / 0.6802 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.4489, allocations: 31.86 kB / 0.6802 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.984e-05/0.449, allocations: 3.984 kB / 0.6802 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.449, allocations: 27.86 kB / 0.6802 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.4491, allocations: 23.95 kB / 0.6803 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.4491, allocations: 8 kB / 0.6803 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4502, allocations: 0.762 MB / 0.681 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.4503, allocations: 12 kB / 0.681 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.4503, allocations: 29.7 kB / 0.681 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.4506, allocations: 291.7 kB / 0.6813 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4506, allocations: 4 kB / 0.6813 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4506, allocations: 0 / 0.6813 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.4506, allocations: 0 / 0.6813 GB, free: 10.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003733/0.451, allocations: 355.3 kB / 0.6817 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.451, allocations: 8.031 kB / 0.6817 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.4511, allocations: 34.5 kB / 0.6817 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4512, allocations: 20.67 kB / 0.6817 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.4513, allocations: 167.1 kB / 0.6819 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.4513, allocations: 4 kB / 0.6819 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4513, allocations: 4 kB / 0.6819 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4515, allocations: 57.62 kB / 0.6819 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4515, allocations: 1.125 kB / 0.6819 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4515, allocations: 0 / 0.6819 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4515, allocations: 4 kB / 0.682 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.4516, allocations: 19.97 kB / 0.682 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.4517, allocations: 169.6 kB / 0.6821 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.4518, allocations: 47.34 kB / 0.6822 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.4518, allocations: 20.84 kB / 0.6822 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008293/0.4601, allocations: 3.206 MB / 0.6853 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4602, allocations: 42.52 kB / 0.6854 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4602, allocations: 0 / 0.6854 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.02922/0.4894, allocations: 14.25 MB / 0.6993 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.4895, allocations: 59.41 kB / 0.6993 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.4895, allocations: 93.8 kB / 0.6994 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4895, allocations: 25.7 kB / 0.6995 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.4896, allocations: 84.14 kB / 0.6995 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.4896, allocations: 35.45 kB / 0.6996 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.4896, allocations: 4 kB / 0.6996 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.4897, allocations: 314.8 kB / 0.6999 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.4897, allocations: 23.98 kB / 0.6999 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.4898, allocations: 24.11 kB / 0.6999 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.4899, allocations: 28 kB / 0.6999 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4899, allocations: 0 / 0.6999 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001874/0.4901, allocations: 114.3 kB / 0.7001 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4901, allocations: 4 kB / 0.7001 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4901, allocations: 4 kB / 0.7001 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4901, allocations: 0 / 0.7001 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.4902, allocations: 23.94 kB / 0.7001 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4902, allocations: 3.984 kB / 0.7001 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.4902, allocations: 4 kB / 0.7001 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.4903, allocations: 8 kB / 0.7001 GB, free: 7.184 MB / 0.5137 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/0.4903, allocations: 113.8 kB / 0.7002 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.4904, allocations: 3.953 kB / 0.7002 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.4906, allocations: 133.3 kB / 0.7003 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4906, allocations: 4 kB / 0.7003 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4906, allocations: 0 / 0.7003 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4907, allocations: 4 kB / 0.7003 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.4908, allocations: 169.6 kB / 0.7005 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4908, allocations: 4 kB / 0.7005 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4909, allocations: 27.98 kB / 0.7005 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4909, allocations: 3.953 kB / 0.7005 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4909, allocations: 0 / 0.7005 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4909, allocations: 80 / 0.7005 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4909, allocations: 3.984 kB / 0.7005 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.4912, allocations: 162.3 kB / 0.7007 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.4912, allocations: 93.08 kB / 0.7008 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4913, allocations: 3.953 kB / 0.7008 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4914, allocations: 15.98 kB / 0.7008 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.4914, allocations: 11.98 kB / 0.7008 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4914, allocations: 4 kB / 0.7008 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.362e-05/0.4915, allocations: 79.28 kB / 0.7009 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4915, allocations: 0 / 0.7009 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001315/0.4928, allocations: 0.5702 MB / 0.7015 GB, free: 5.691 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00278/0.4956, allocations: 0.9397 MB / 0.7024 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.4957, allocations: 63.97 kB / 0.7024 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4957, allocations: 4 kB / 0.7024 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.4958, allocations: 43.86 kB / 0.7025 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.4959, allocations: 11.95 kB / 0.7025 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4972, allocations: 0.7641 MB / 0.7032 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.4974, allocations: 0.6926 MB / 0.7039 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.516e-05/0.4975, allocations: 24.53 kB / 0.7039 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.4975, allocations: 23.42 kB / 0.704 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4975, allocations: 0 / 0.704 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.5365, allocations: 26.61 MB / 0.73 GB, free: 8.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.5367, allocations: 177.3 kB / 0.7301 GB, free: 8.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.646, allocations: 4 kB / 0.7301 GB, free: 8.254 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: