Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 108 kB / 15.61 MB, free: 152 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.001298/0.001298, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.732/0.732, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.47 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4243, allocations: 80.2 MB / 0.5801 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002235/0.4266, allocations: 1.399 MB / 0.5814 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004647/0.4271, allocations: 286.7 kB / 0.5817 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.4271, allocations: 1.469 kB / 0.5817 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.4271, allocations: 0 / 0.5817 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.4272, allocations: 5.688 kB / 0.5817 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.4275, allocations: 55.66 kB / 0.5818 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.4275, allocations: 29.2 kB / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.4276, allocations: 5.25 kB / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.4277, allocations: 16.88 kB / 0.5818 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.4277, allocations: 14.42 kB / 0.5818 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.4277, allocations: 5.781 kB / 0.5819 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.4279, allocations: 86.27 kB / 0.5819 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.4279, allocations: 2.188 kB / 0.5819 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.428, allocations: 19.38 kB / 0.582 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.4281, allocations: 58.39 kB / 0.582 GB, free: 3.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4281, allocations: 4 kB / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.4281, allocations: 0 / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.4281, allocations: 0 / 0.582 GB, free: 3.238 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.0003402/0.4285, allocations: 349 kB / 0.5823 GB, free: 2.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4285, allocations: 9.375 kB / 0.5824 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.4286, allocations: 2.75 kB / 0.5824 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.373e-05/0.4286, allocations: 175 kB / 0.5825 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4287, allocations: 9.719 kB / 0.5825 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.4287, allocations: 2.312 kB / 0.5825 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4288, allocations: 52.59 kB / 0.5826 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4288, allocations: 192 / 0.5826 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.4289, allocations: 5.375 kB / 0.5826 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4289, allocations: 0 / 0.5826 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.429, allocations: 32.95 kB / 0.5826 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.4293, allocations: 246.6 kB / 0.5829 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.4294, allocations: 44.39 kB / 0.5829 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.4295, allocations: 23.62 kB / 0.5829 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4295, allocations: 1.125 kB / 0.5829 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.4295, allocations: 32.03 kB / 0.583 GB, free: 2.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4295, allocations: 4 kB / 0.583 GB, free: 2.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.4299, allocations: 75.77 kB / 0.583 GB, free: 2.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.4299, allocations: 56.94 kB / 0.5831 GB, free: 2.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.43, allocations: 105 kB / 0.5832 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.43, allocations: 25.7 kB / 0.5832 GB, free: 2.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.43, allocations: 89.38 kB / 0.5833 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.43, allocations: 9.891 kB / 0.5833 GB, free: 1.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.43, allocations: 13 kB / 0.5833 GB, free: 1.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.4301, allocations: 313 kB / 0.5836 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.4302, allocations: 17.75 kB / 0.5836 GB, free: 1.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.4302, allocations: 14.42 kB / 0.5836 GB, free: 1.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4304, allocations: 45.55 kB / 0.5837 GB, free: 1.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4304, allocations: 0 / 0.5837 GB, free: 1.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.4306, allocations: 70.89 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4306, allocations: 5.812 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4306, allocations: 0.6875 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4306, allocations: 0.75 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.4307, allocations: 8.906 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4307, allocations: 0.6562 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.4308, allocations: 10.23 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.4308, allocations: 0.5156 kB / 0.5838 GB, free: 1.512 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 4.106e-05/0.4308, allocations: 118.2 kB / 0.5839 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.4309, allocations: 5.125 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.4311, allocations: 71.53 kB / 0.584 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4311, allocations: 4.453 kB / 0.584 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4311, allocations: 4.906 kB / 0.584 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4311, allocations: 0.5625 kB / 0.584 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.4312, allocations: 159.6 kB / 0.5841 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4312, allocations: 5.219 kB / 0.5841 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.4313, allocations: 8.766 kB / 0.5841 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4313, allocations: 0 / 0.5841 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4313, allocations: 0.6562 kB / 0.5841 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4313, allocations: 1.219 kB / 0.5841 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4313, allocations: 0 / 0.5841 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.4315, allocations: 167.3 kB / 0.5843 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.4315, allocations: 78.81 kB / 0.5844 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.4315, allocations: 5.062 kB / 0.5844 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.4316, allocations: 5.812 kB / 0.5844 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.4316, allocations: 2.016 kB / 0.5844 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4317, allocations: 0.875 kB / 0.5844 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.034e-05/0.4317, allocations: 89.2 kB / 0.5845 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4317, allocations: 0 / 0.5845 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.4319, allocations: 13.38 kB / 0.5845 GB, free: 0.8086 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.0001262/0.432, allocations: 113.8 kB / 0.5846 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.4323, allocations: 39.06 kB / 0.5846 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4323, allocations: 5.062 kB / 0.5846 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.4324, allocations: 20.31 kB / 0.5847 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4326, allocations: 11.48 kB / 0.5847 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.4328, allocations: 118.3 kB / 0.5848 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.433, allocations: 0.6794 MB / 0.5854 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.094e-05/0.433, allocations: 5.969 kB / 0.5855 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.433, allocations: 8.719 kB / 0.5855 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.433, allocations: 0 / 0.5855 GB, free: 15.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002652/0.4357, allocations: 0.597 MB / 0.586 GB, free: 15.79 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)