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.001206/0.001206, allocations: 103.6 kB / 16.4 MB, free: 6.492 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.00145/0.00145, allocations: 193.2 kB / 17.34 MB, free: 5.746 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.726/1.726, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8185/0.8185, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.81 kB / 0.5572 GB, free: 32.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 76.18 MB / 0.6316 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002332/0.1818, allocations: 1.258 MB / 0.6328 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.7963/0.9781, allocations: 137.7 MB / 0.7672 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.9782, allocations: 2.312 kB / 0.7672 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.9784, allocations: 3.938 kB / 0.7672 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/0.9784, allocations: 6.188 kB / 0.7672 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.9804, allocations: 460 kB / 0.7677 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.9806, allocations: 42.7 kB / 0.7677 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.9806, allocations: 1.406 kB / 0.7677 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.9807, allocations: 27.28 kB / 0.7677 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.9808, allocations: 19.16 kB / 0.7678 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.9809, allocations: 1.375 kB / 0.7678 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.9832, allocations: 0.8212 MB / 0.7686 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.9832, allocations: 12.75 kB / 0.7686 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.9833, allocations: 17.78 kB / 0.7686 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008877/0.9842, allocations: 453.2 kB / 0.769 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9842, allocations: 4.5 kB / 0.769 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9842, allocations: 0 / 0.769 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9842, allocations: 0.5938 kB / 0.769 GB, free: 14.89 MB / 0.5919 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.000615/0.9848, allocations: 369 kB / 0.7694 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.9849, allocations: 9.594 kB / 0.7694 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.9849, allocations: 38.88 kB / 0.7694 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.9852, allocations: 11.61 kB / 0.7694 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.9853, allocations: 160.9 kB / 0.7696 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.9853, allocations: 6.25 kB / 0.7696 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.9854, allocations: 11.31 kB / 0.7696 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.9855, allocations: 58.02 kB / 0.7697 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.9856, allocations: 4.734 kB / 0.7697 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.9856, allocations: 3.688 kB / 0.7697 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.9856, allocations: 1.094 kB / 0.7697 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.9857, allocations: 18.22 kB / 0.7697 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.9859, allocations: 169.3 kB / 0.7698 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.9861, allocations: 53.5 kB / 0.7699 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.9861, allocations: 21.2 kB / 0.7699 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01905/1.005, allocations: 3.206 MB / 0.773 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.299e-05/1.005, allocations: 35.66 kB / 0.7731 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 4.188e-06/1.005, allocations: 1.203 kB / 0.7731 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.06685/1.072, allocations: 15 MB / 0.7877 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/1.072, allocations: 54.59 kB / 0.7878 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.072, allocations: 93.48 kB / 0.7879 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/1.073, allocations: 28.45 kB / 0.7879 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/1.073, allocations: 91.27 kB / 0.788 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/1.073, allocations: 48.05 kB / 0.788 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/1.073, allocations: 34.45 kB / 0.7881 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.073, allocations: 320.8 kB / 0.7884 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/1.073, allocations: 17.83 kB / 0.7884 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/1.073, allocations: 28.08 kB / 0.7884 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/1.073, allocations: 67.64 kB / 0.7885 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.073, allocations: 0 / 0.7885 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003716/1.074, allocations: 100.7 kB / 0.7886 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/1.074, allocations: 4.969 kB / 0.7886 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.074, allocations: 4 kB / 0.7886 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/1.074, allocations: 1.906 kB / 0.7886 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/1.074, allocations: 27.8 kB / 0.7886 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.074, allocations: 2.281 kB / 0.7886 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/1.074, allocations: 0 / 0.7886 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/1.074, allocations: 8.406 kB / 0.7886 GB, free: 10.07 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.074, allocations: 120.7 kB / 0.7887 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/1.074, allocations: 6.438 kB / 0.7887 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/1.075, allocations: 129.8 kB / 0.7889 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.075, allocations: 0 / 0.7889 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.075, allocations: 2.781 kB / 0.7889 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.075, allocations: 0 / 0.7889 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/1.075, allocations: 176.4 kB / 0.789 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/1.075, allocations: 2.781 kB / 0.789 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/1.075, allocations: 31.42 kB / 0.7891 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.075, allocations: 4 kB / 0.7891 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.076, allocations: 0 / 0.7891 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.076, allocations: 2.969 kB / 0.7891 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.076, allocations: 0.5 kB / 0.7891 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/1.076, allocations: 153 kB / 0.7892 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.076, allocations: 87.42 kB / 0.7893 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/1.076, allocations: 2.094 kB / 0.7893 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/1.076, allocations: 20.77 kB / 0.7893 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/1.076, allocations: 9.312 kB / 0.7893 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/1.077, allocations: 9.922 kB / 0.7893 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.231e-05/1.077, allocations: 77.66 kB / 0.7894 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.077, allocations: 0 / 0.7894 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005268/1.082, allocations: 0.5633 MB / 0.79 GB, free: 9.371 MB / 0.5919 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 (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.009564/1.091, allocations: 0.9444 MB / 0.7909 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004231/1.092, allocations: 66.95 kB / 0.791 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.092, allocations: 0 / 0.791 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/1.092, allocations: 39.05 kB / 0.791 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/1.093, allocations: 6.031 kB / 0.791 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/1.098, allocations: 1.554 MB / 0.7925 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/1.098, allocations: 0.6861 MB / 0.7932 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001646/1.098, allocations: 22.73 kB / 0.7932 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/1.098, allocations: 26.02 kB / 0.7932 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of SimCode: time 1.203e-06/1.098, allocations: 4 kB / 0.7932 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/1.212, allocations: 25.47 MB / 0.8181 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/16.02, allocations: 13.16 kB / 0.8181 GB, free: 2.508 MB / 0.6075 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/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)