Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009365/0.0009364, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009401/0.0009401, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.139/1.139, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004955, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2184, allocations: 83.41 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001309/0.2197, allocations: 0.9667 MB / 0.5983 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.521/0.7408, allocations: 116.4 MB / 0.7119 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.7409, allocations: 4 kB / 0.7119 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.7409, allocations: 0.6094 kB / 0.7119 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.741, allocations: 2.469 kB / 0.712 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.7423, allocations: 352.8 kB / 0.7123 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.7424, allocations: 26.5 kB / 0.7123 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.167e-05/0.7424, allocations: 2.953 kB / 0.7123 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.7425, allocations: 34.28 kB / 0.7123 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.7426, allocations: 10.91 kB / 0.7124 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.7426, allocations: 2.5 kB / 0.7124 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.7444, allocations: 0.794 MB / 0.7131 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.7444, allocations: 8.828 kB / 0.7131 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.7444, allocations: 34.2 kB / 0.7132 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.745, allocations: 281.3 kB / 0.7134 GB, free: 12.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.745, allocations: 1.25 kB / 0.7134 GB, free: 12.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.157e-06/0.745, allocations: 0.7031 kB / 0.7134 GB, free: 12.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.745, allocations: 0 / 0.7134 GB, free: 12.78 MB / 0.545 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.0005263/0.7456, allocations: 361.4 kB / 0.7138 GB, free: 12.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7456, allocations: 12.73 kB / 0.7138 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.7457, allocations: 33.95 kB / 0.7138 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.7459, allocations: 17.05 kB / 0.7139 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.746, allocations: 162.2 kB / 0.714 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.746, allocations: 2.125 kB / 0.714 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.7461, allocations: 9.281 kB / 0.714 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.7462, allocations: 53.38 kB / 0.7141 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7462, allocations: 0 / 0.7141 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.7463, allocations: 1.156 kB / 0.7141 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7463, allocations: 1.438 kB / 0.7141 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.7464, allocations: 23.55 kB / 0.7141 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.7466, allocations: 172.4 kB / 0.7143 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.7467, allocations: 52.06 kB / 0.7143 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/0.7592, allocations: 3.215 MB / 0.7174 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.7593, allocations: 32.61 kB / 0.7175 GB, free: 11.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.985e-06/0.7593, allocations: 0.5625 kB / 0.7175 GB, free: 11.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04155/0.8009, allocations: 14.24 MB / 0.7314 GB, free: 2.305 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.801, allocations: 63.34 kB / 0.7314 GB, free: 2.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.8011, allocations: 89.86 kB / 0.7315 GB, free: 2.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.8011, allocations: 33.64 kB / 0.7316 GB, free: 2.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.8011, allocations: 80.14 kB / 0.7316 GB, free: 2.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.8012, allocations: 47.36 kB / 0.7317 GB, free: 1.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.8012, allocations: 0 / 0.7317 GB, free: 1.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8013, allocations: 322.8 kB / 0.732 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.8013, allocations: 24.11 kB / 0.732 GB, free: 1.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.215e-05/0.8014, allocations: 21 kB / 0.732 GB, free: 1.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.211e-05/0.8015, allocations: 36.69 kB / 0.7321 GB, free: 1.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8015, allocations: 0 / 0.7321 GB, free: 1.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002001/0.8017, allocations: 99.92 kB / 0.7322 GB, free: 1.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.8017, allocations: 4 kB / 0.7322 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8017, allocations: 4 kB / 0.7322 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8017, allocations: 0 / 0.7322 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.8019, allocations: 27.98 kB / 0.7322 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8019, allocations: 0 / 0.7322 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.8019, allocations: 0.5 kB / 0.7322 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.8019, allocations: 8 kB / 0.7322 GB, free: 1.418 MB / 0.545 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 8.484e-05/0.802, allocations: 121.7 kB / 0.7323 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.8021, allocations: 11.89 kB / 0.7323 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.8023, allocations: 125.5 kB / 0.7325 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8023, allocations: 4 kB / 0.7325 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8024, allocations: 0.5 kB / 0.7325 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8024, allocations: 4 kB / 0.7325 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.8025, allocations: 177.6 kB / 0.7326 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8025, allocations: 4.5 kB / 0.7326 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.8026, allocations: 27.92 kB / 0.7327 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8026, allocations: 0 / 0.7327 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8027, allocations: 4 kB / 0.7327 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.8027, allocations: 0.875 kB / 0.7327 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8027, allocations: 0 / 0.7327 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.8029, allocations: 157 kB / 0.7328 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.803, allocations: 89.05 kB / 0.7329 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.803, allocations: 11.88 kB / 0.7329 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.8032, allocations: 15.98 kB / 0.7329 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.8032, allocations: 7.938 kB / 0.7329 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.8032, allocations: 18.48 kB / 0.733 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.8033, allocations: 75.28 kB / 0.733 GB, free: 492 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8033, allocations: 0 / 0.733 GB, free: 492 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.002493/0.8058, allocations: 0.5663 MB / 0.7336 GB, free: 15.91 MB / 0.5606 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.00359/0.8094, allocations: 0.9365 MB / 0.7345 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.8096, allocations: 63.92 kB / 0.7346 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8096, allocations: 0 / 0.7346 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/0.8097, allocations: 36.25 kB / 0.7346 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.8098, allocations: 4.734 kB / 0.7346 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.8114, allocations: 0.7757 MB / 0.7354 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.8117, allocations: 0.6887 MB / 0.736 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.817e-05/0.8118, allocations: 20.55 kB / 0.736 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.8119, allocations: 23.42 kB / 0.7361 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of SimCode: time 5.82e-07/0.8119, allocations: 0 / 0.7361 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05173/0.8636, allocations: 26.71 MB / 0.7622 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.8638, allocations: 179.2 kB / 0.7623 GB, free: 2.523 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.349, allocations: 4 kB / 0.7623 GB, free: 2.52 MB / 0.5763 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: