Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.001353/0.001354, allocations: 100.1 kB / 15.88 MB, free: 12 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.001252/0.001252, allocations: 209.9 kB / 16.79 MB, free: 6.84 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.287/1.287, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6726/0.6726, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 61.12 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002541/0.135, allocations: 1.457 MB / 0.5573 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.1356, allocations: 287.1 kB / 0.5575 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.1357, allocations: 4 kB / 0.5575 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.1357, allocations: 3.938 kB / 0.5575 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.1358, allocations: 4 kB / 0.5575 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.136, allocations: 51.81 kB / 0.5576 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.1361, allocations: 27.86 kB / 0.5576 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.1362, allocations: 4 kB / 0.5576 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.1362, allocations: 11.92 kB / 0.5576 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.1363, allocations: 11.94 kB / 0.5577 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1363, allocations: 4 kB / 0.5577 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.1365, allocations: 95.83 kB / 0.5577 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1365, allocations: 7.984 kB / 0.5578 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.1366, allocations: 7.938 kB / 0.5578 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1368, allocations: 68.06 kB / 0.5578 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1368, allocations: 0 / 0.5578 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1368, allocations: 0 / 0.5578 GB, free: 8.699 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1368, allocations: 0 / 0.5578 GB, free: 8.699 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004731/0.1373, allocations: 355.4 kB / 0.5582 GB, free: 8.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1373, allocations: 8.031 kB / 0.5582 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.1374, allocations: 34.75 kB / 0.5582 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.1374, allocations: 4.875 kB / 0.5582 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1375, allocations: 164.4 kB / 0.5584 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1375, allocations: 4.375 kB / 0.5584 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1375, allocations: 384 / 0.5584 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1377, allocations: 58.16 kB / 0.5584 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1377, allocations: 3.938 kB / 0.5584 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1377, allocations: 4 kB / 0.5584 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1377, allocations: 4 kB / 0.5584 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1379, allocations: 31.95 kB / 0.5585 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.1382, allocations: 244.8 kB / 0.5587 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1383, allocations: 46.47 kB / 0.5587 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.1384, allocations: 28.91 kB / 0.5588 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1385, allocations: 3.938 kB / 0.5588 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.367e-05/0.1385, allocations: 30.56 kB / 0.5588 GB, free: 7.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1385, allocations: 0 / 0.5588 GB, free: 7.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003215/0.1389, allocations: 85.73 kB / 0.5589 GB, free: 7.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1389, allocations: 51.41 kB / 0.5589 GB, free: 7.367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.139, allocations: 97.84 kB / 0.559 GB, free: 7.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.139, allocations: 29.64 kB / 0.5591 GB, free: 7.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.1391, allocations: 88.14 kB / 0.5591 GB, free: 7.137 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1391, allocations: 3.906 kB / 0.5591 GB, free: 7.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1391, allocations: 13.72 kB / 0.5592 GB, free: 7.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1392, allocations: 314.8 kB / 0.5595 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.1393, allocations: 20 kB / 0.5595 GB, free: 6.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.1394, allocations: 15.98 kB / 0.5595 GB, free: 6.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1396, allocations: 36.83 kB / 0.5595 GB, free: 6.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1396, allocations: 3.938 kB / 0.5595 GB, free: 6.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/0.1397, allocations: 69.72 kB / 0.5596 GB, free: 6.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1398, allocations: 4 kB / 0.5596 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1398, allocations: 0 / 0.5596 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1398, allocations: 0 / 0.5596 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.1399, allocations: 15.92 kB / 0.5596 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1399, allocations: 0 / 0.5596 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.1399, allocations: 7.984 kB / 0.5596 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.14, allocations: 0 / 0.5596 GB, free: 6.617 MB / 430.1 MB 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 (2): * Single equations (assignments): 2 * 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 7.846e-05/0.14, allocations: 121.8 kB / 0.5597 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1401, allocations: 3.938 kB / 0.5597 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.1403, allocations: 64.78 kB / 0.5598 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1403, allocations: 0 / 0.5598 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1403, allocations: 4 kB / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1403, allocations: 0 / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1404, allocations: 161.6 kB / 0.56 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1405, allocations: 0 / 0.56 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.1405, allocations: 8.031 kB / 0.56 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1405, allocations: 4 kB / 0.56 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1405, allocations: 3.938 kB / 0.56 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1405, allocations: 3.984 kB / 0.56 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1405, allocations: 0 / 0.56 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1408, allocations: 163.4 kB / 0.5601 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.1408, allocations: 89.06 kB / 0.5602 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1408, allocations: 4 kB / 0.5602 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.1409, allocations: 4 kB / 0.5602 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1409, allocations: 3.984 kB / 0.5602 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.141, allocations: 4 kB / 0.5602 GB, free: 5.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.1411, allocations: 87.39 kB / 0.5603 GB, free: 5.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1411, allocations: 4 kB / 0.5603 GB, free: 5.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1413, allocations: 8 kB / 0.5603 GB, free: 5.793 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005433/0.1418, allocations: 0.7124 MB / 0.561 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.142, allocations: 39.98 kB / 0.5611 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.142, allocations: 0 / 0.5611 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.1421, allocations: 19.98 kB / 0.5611 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.1424, allocations: 0 / 0.5611 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.1428, allocations: 161.1 kB / 0.5612 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.143, allocations: 0.6772 MB / 0.5619 GB, free: 4.094 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.1431, allocations: 7.984 kB / 0.5619 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1431, allocations: 11.44 kB / 0.5619 GB, free: 4.074 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1431, allocations: 0 / 0.5619 GB, free: 4.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6039/0.747, allocations: 1.277 MB / 0.5632 GB, free: 2.926 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.7473, allocations: 215.4 kB / 0.5634 GB, free: 2.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/2.97, allocations: 3.375 kB / 0.5634 GB, free: 2.672 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)