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.0007754/0.0007755, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0009207/0.0009208, allocations: 172.7 kB / 15.95 MB, free: 208 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.023/1.023, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 8 kB / 0.5161 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 83.41 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001368/0.1603, allocations: 0.9822 MB / 0.5985 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4539/0.6142, allocations: 124.9 MB / 0.7205 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.6143, allocations: 0 / 0.7205 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.6143, allocations: 2.625 kB / 0.7205 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.6144, allocations: 9.156 kB / 0.7205 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.616, allocations: 355.7 kB / 0.7208 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.6161, allocations: 37.22 kB / 0.7209 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.6162, allocations: 2.766 kB / 0.7209 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.6162, allocations: 19.05 kB / 0.7209 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.6163, allocations: 23.33 kB / 0.7209 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.6164, allocations: 7 kB / 0.7209 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.6187, allocations: 0.7656 MB / 0.7217 GB, free: 5.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.6188, allocations: 12.58 kB / 0.7217 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.6188, allocations: 34.14 kB / 0.7217 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.6194, allocations: 287.5 kB / 0.722 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6195, allocations: 0 / 0.722 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6195, allocations: 1 kB / 0.722 GB, free: 5.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6195, allocations: 0 / 0.722 GB, free: 5.441 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.0004727/0.62, allocations: 358.9 kB / 0.7223 GB, free: 5.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.62, allocations: 11.77 kB / 0.7223 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.62, allocations: 32.3 kB / 0.7224 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.6202, allocations: 14.38 kB / 0.7224 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.6203, allocations: 165.4 kB / 0.7225 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6204, allocations: 5.406 kB / 0.7225 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.6204, allocations: 6.109 kB / 0.7225 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.6205, allocations: 57.69 kB / 0.7226 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.6206, allocations: 4.625 kB / 0.7226 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6206, allocations: 0.6562 kB / 0.7226 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6206, allocations: 1.281 kB / 0.7226 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.536e-05/0.6206, allocations: 18.33 kB / 0.7226 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.6208, allocations: 181.7 kB / 0.7228 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.6209, allocations: 48.94 kB / 0.7228 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.621, allocations: 22.11 kB / 0.7229 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.6313, allocations: 3.202 MB / 0.726 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.6314, allocations: 39.91 kB / 0.726 GB, free: 3.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.6314, allocations: 1.406 kB / 0.726 GB, free: 3.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03342/0.6648, allocations: 14.25 MB / 0.7399 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.6649, allocations: 55.41 kB / 0.74 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.665, allocations: 89.86 kB / 0.7401 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.665, allocations: 33.7 kB / 0.7401 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.6651, allocations: 80.14 kB / 0.7402 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.6651, allocations: 39.36 kB / 0.7402 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.6651, allocations: 4 kB / 0.7402 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6653, allocations: 318.8 kB / 0.7405 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.6653, allocations: 24 kB / 0.7406 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.078e-05/0.6654, allocations: 28.11 kB / 0.7406 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.208e-05/0.6654, allocations: 23.94 kB / 0.7406 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6654, allocations: 4 kB / 0.7406 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002076/0.6656, allocations: 107.5 kB / 0.7407 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6657, allocations: 4.938 kB / 0.7407 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.6657, allocations: 0 / 0.7407 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6657, allocations: 3.938 kB / 0.7407 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6658, allocations: 24.55 kB / 0.7407 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6658, allocations: 0.8594 kB / 0.7408 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.6659, allocations: 8 kB / 0.7408 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.6659, allocations: 4 kB / 0.7408 GB, free: 8.934 MB / 0.5606 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.962e-05/0.666, allocations: 121.7 kB / 0.7409 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.666, allocations: 8.719 kB / 0.7409 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.6663, allocations: 117.5 kB / 0.741 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6663, allocations: 8 kB / 0.741 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6663, allocations: 3.984 kB / 0.741 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6663, allocations: 0 / 0.741 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.6665, allocations: 185.5 kB / 0.7412 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6665, allocations: 0 / 0.7412 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6666, allocations: 28.86 kB / 0.7412 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6666, allocations: 0 / 0.7412 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6666, allocations: 8 kB / 0.7412 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6666, allocations: 0 / 0.7412 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6666, allocations: 0 / 0.7412 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.6669, allocations: 156.9 kB / 0.7414 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.667, allocations: 93 kB / 0.7415 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.667, allocations: 0.75 kB / 0.7415 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.6672, allocations: 15.98 kB / 0.7415 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.6672, allocations: 7.938 kB / 0.7415 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.6672, allocations: 11.98 kB / 0.7415 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.6673, allocations: 83.28 kB / 0.7416 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6673, allocations: 0 / 0.7416 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002674/0.67, allocations: 0.5663 MB / 0.7421 GB, free: 7.438 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.003586/0.6736, allocations: 0.9379 MB / 0.743 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.6737, allocations: 63.92 kB / 0.7431 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6737, allocations: 0 / 0.7431 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.306e-05/0.6738, allocations: 39.92 kB / 0.7431 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.674, allocations: 8 kB / 0.7431 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.6756, allocations: 0.771 MB / 0.7439 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.6758, allocations: 0.6888 MB / 0.7446 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.676, allocations: 24.53 kB / 0.7446 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.676, allocations: 19.5 kB / 0.7446 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of SimCode: time 5.72e-07/0.676, allocations: 0 / 0.7446 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/0.7238, allocations: 26.73 MB / 0.7707 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.7241, allocations: 184.1 kB / 0.7709 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.15, allocations: 4 kB / 0.7709 GB, free: 10.02 MB / 0.5919 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: