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.001636/0.001636, allocations: 97.2 kB / 15.69 MB, free: 480 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.003016/0.003016, allocations: 176.5 kB / 16.57 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.383/2.383, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.112/1.112, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006956/0.0006959, allocations: 8 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3198, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002313/0.3222, allocations: 0.9571 MB / 0.5576 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.8899/1.212, allocations: 116.4 MB / 0.6713 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.389e-05/1.212, allocations: 0 / 0.6713 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/1.212, allocations: 0 / 0.6713 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/1.212, allocations: 4 kB / 0.6713 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/1.215, allocations: 355 kB / 0.6716 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/1.215, allocations: 31.89 kB / 0.6717 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/1.215, allocations: 7.984 kB / 0.6717 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/1.215, allocations: 19.92 kB / 0.6717 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/1.215, allocations: 19.92 kB / 0.6717 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/1.215, allocations: 8 kB / 0.6717 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/1.217, allocations: 0.7842 MB / 0.6725 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/1.217, allocations: 11.98 kB / 0.6725 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.351e-05/1.217, allocations: 29.7 kB / 0.6725 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006833/1.218, allocations: 280.6 kB / 0.6728 GB, free: 2.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.218, allocations: 0 / 0.6728 GB, free: 2.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.016e-06/1.218, allocations: 0 / 0.6728 GB, free: 2.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/1.218, allocations: 0 / 0.6728 GB, free: 2.84 MB / 494.1 MB 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.0008103/1.219, allocations: 369.5 kB / 0.6732 GB, free: 2.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.3e-05/1.219, allocations: 8.969 kB / 0.6732 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.988e-05/1.219, allocations: 34.56 kB / 0.6732 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/1.219, allocations: 16.69 kB / 0.6732 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/1.22, allocations: 167 kB / 0.6734 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/1.22, allocations: 4 kB / 0.6734 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/1.22, allocations: 8 kB / 0.6734 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/1.22, allocations: 53.62 kB / 0.6734 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.22, allocations: 0 / 0.6734 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/1.22, allocations: 4 kB / 0.6734 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/1.22, allocations: 0 / 0.6734 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.711e-05/1.22, allocations: 23.92 kB / 0.6735 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/1.22, allocations: 161.7 kB / 0.6736 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/1.221, allocations: 54.48 kB / 0.6737 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/1.236, allocations: 3.206 MB / 0.6768 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/1.236, allocations: 34.56 kB / 0.6768 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 3.938e-06/1.236, allocations: 4 kB / 0.6768 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.05539/1.292, allocations: 14.24 MB / 0.6907 GB, free: 72 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/1.292, allocations: 55.39 kB / 0.6908 GB, free: 4 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/1.292, allocations: 101.9 kB / 0.6909 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.292, allocations: 25.7 kB / 0.6909 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/1.292, allocations: 80.14 kB / 0.691 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/1.292, allocations: 39.45 kB / 0.691 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/1.292, allocations: 0 / 0.691 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.293, allocations: 318.8 kB / 0.6913 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/1.293, allocations: 23.98 kB / 0.6914 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/1.293, allocations: 23.92 kB / 0.6914 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/1.293, allocations: 36.12 kB / 0.6914 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.293, allocations: 0 / 0.6914 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003489/1.293, allocations: 102.5 kB / 0.6915 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.293, allocations: 4 kB / 0.6915 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.293, allocations: 3.984 kB / 0.6915 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.293, allocations: 3.438 kB / 0.6915 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/1.293, allocations: 24 kB / 0.6915 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.293, allocations: 7.938 kB / 0.6915 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/1.293, allocations: 0 / 0.6915 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/1.294, allocations: 15.92 kB / 0.6916 GB, free: 15.18 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 0.0001285/1.294, allocations: 117.8 kB / 0.6917 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/1.294, allocations: 7.953 kB / 0.6917 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/1.294, allocations: 123.7 kB / 0.6918 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.294, allocations: 3.984 kB / 0.6918 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.294, allocations: 7.938 kB / 0.6918 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.294, allocations: 0 / 0.6918 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/1.295, allocations: 173.6 kB / 0.692 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.295, allocations: 0 / 0.692 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.295, allocations: 27.98 kB / 0.692 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.295, allocations: 3.953 kB / 0.692 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/1.295, allocations: 4 kB / 0.692 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.295, allocations: 0 / 0.692 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.295, allocations: 0 / 0.692 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/1.295, allocations: 156.9 kB / 0.6922 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.295, allocations: 93.08 kB / 0.6923 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/1.296, allocations: 3.953 kB / 0.6923 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/1.296, allocations: 11.98 kB / 0.6923 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/1.296, allocations: 11.98 kB / 0.6923 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/1.296, allocations: 4 kB / 0.6923 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.13e-05/1.296, allocations: 83.28 kB / 0.6924 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.296, allocations: 0 / 0.6924 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003386/1.299, allocations: 0.5702 MB / 0.6929 GB, free: 13.69 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.005946/1.305, allocations: 0.9337 MB / 0.6938 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004947/1.306, allocations: 70.59 kB / 0.6939 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.306, allocations: 3.938 kB / 0.6939 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/1.306, allocations: 35.94 kB / 0.6939 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/1.306, allocations: 11.94 kB / 0.6939 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/1.309, allocations: 0.7593 MB / 0.6947 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/1.31, allocations: 0.6887 MB / 0.6954 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001631/1.31, allocations: 28.53 kB / 0.6954 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/1.31, allocations: 19.5 kB / 0.6954 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/1.31, allocations: 4 kB / 0.6954 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.421, allocations: 26.6 MB / 0.7214 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004281/1.421, allocations: 174.7 kB / 0.7216 GB, free: 280 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.721/6.142, allocations: 0 / 0.7216 GB, free: 280 kB / 0.5294 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: