Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_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.001445/0.001445, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001679/0.001679, allocations: 191.4 kB / 16.25 MB, free: 6.637 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.155/1.155, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7937/0.7937, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 60.72 kB / 0.505 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 80.93 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002284/0.1359, allocations: 1.453 MB / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004678/0.1364, allocations: 291.1 kB / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.1364, allocations: 0 / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.1365, allocations: 0 / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.1365, allocations: 7.922 kB / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1368, allocations: 51.81 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.1369, allocations: 27.92 kB / 0.5858 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.1369, allocations: 4 kB / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.137, allocations: 7.938 kB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.137, allocations: 15.92 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.137, allocations: 4 kB / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1372, allocations: 95.78 kB / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1372, allocations: 15.97 kB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.1372, allocations: 3.938 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1374, allocations: 68.09 kB / 0.586 GB, free: 2.762 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1374, allocations: 4 kB / 0.586 GB, free: 2.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1374, allocations: 0 / 0.586 GB, free: 2.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1374, allocations: 0 / 0.586 GB, free: 2.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003842/0.1378, allocations: 355.3 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1378, allocations: 12.03 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.1379, allocations: 30.75 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.1379, allocations: 4.875 kB / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.842e-05/0.138, allocations: 168.4 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.138, allocations: 384 / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.138, allocations: 4.375 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1382, allocations: 50.23 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1382, allocations: 7.875 kB / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1382, allocations: 0 / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1382, allocations: 0 / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1384, allocations: 35.95 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.1386, allocations: 248.9 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1387, allocations: 42.48 kB / 0.5869 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.714e-05/0.1388, allocations: 24.91 kB / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1389, allocations: 3.984 kB / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.1389, allocations: 34.5 kB / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1389, allocations: 4 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002965/0.1392, allocations: 81.64 kB / 0.587 GB, free: 1.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.1392, allocations: 51.41 kB / 0.5871 GB, free: 1.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.1393, allocations: 97.86 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1393, allocations: 25.7 kB / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.1393, allocations: 84.12 kB / 0.5873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1394, allocations: 12.03 kB / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.1394, allocations: 13.72 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.1395, allocations: 314.8 kB / 0.5876 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.1396, allocations: 11.98 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.1396, allocations: 23.91 kB / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1398, allocations: 40.89 kB / 0.5877 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1398, allocations: 3.938 kB / 0.5877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001677/0.14, allocations: 69.66 kB / 0.5878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.14, allocations: 4 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.14, allocations: 0 / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/0.14, allocations: 0 / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.1401, allocations: 11.98 kB / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1401, allocations: 4.031 kB / 0.5878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.1401, allocations: 4 kB / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1401, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 494.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 6.387e-05/0.1402, allocations: 121.7 kB / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1402, allocations: 11.84 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.1404, allocations: 68.78 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1404, allocations: 4.031 kB / 0.588 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1405, allocations: 3.938 kB / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1405, allocations: 0 / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1406, allocations: 161.6 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1406, allocations: 0 / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.1407, allocations: 7.984 kB / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1407, allocations: 0 / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1407, allocations: 0 / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1407, allocations: 4 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1407, allocations: 0 / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.1409, allocations: 167.4 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.141, allocations: 81.05 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.141, allocations: 3.984 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1411, allocations: 8 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.1411, allocations: 0 / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1411, allocations: 3.984 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.1411, allocations: 83.31 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1411, allocations: 0 / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.1414, allocations: 12 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB 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.0005042/0.1419, allocations: 0.7085 MB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.1421, allocations: 39.97 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1421, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.1421, allocations: 19.97 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1424, allocations: 5.281 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.1427, allocations: 164.2 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.1429, allocations: 0.6768 MB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.143, allocations: 4 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.143, allocations: 7.438 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.143, allocations: 0 / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.104/1.247, allocations: 1.321 MB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.247, allocations: 210.3 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/3.213, allocations: 4 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)