Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7397/0.7397, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.2 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007209/0.0007209, allocations: 86.3 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001653/0.001653, allocations: 261.2 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007723/0.0007724, allocations: 19.98 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3945, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5253, allocations: 107.7 MB / 0.8447 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5256, allocations: 79.94 kB / 0.8448 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004032/0.5297, allocations: 1.255 MB / 0.846 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5297, allocations: 0 / 0.846 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.5297, allocations: 0 / 0.846 GB, free: 1.145 MB / 0.5105 GB 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.000375/0.5301, allocations: 351.5 kB / 0.8463 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5301, allocations: 12.03 kB / 0.8463 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.5302, allocations: 4.844 kB / 0.8463 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5303, allocations: 168.3 kB / 0.8465 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5303, allocations: 8.375 kB / 0.8465 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.5304, allocations: 384 / 0.8465 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.5305, allocations: 62.22 kB / 0.8466 GB, free: 468 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5306, allocations: 192 / 0.8466 GB, free: 468 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5306, allocations: 3.938 kB / 0.8466 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.5306, allocations: 0 / 0.8466 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.5307, allocations: 43.91 kB / 0.8466 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.5311, allocations: 249 kB / 0.8468 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.5312, allocations: 46.5 kB / 0.8469 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.5313, allocations: 24.91 kB / 0.8469 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.5313, allocations: 4 kB / 0.8469 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.5314, allocations: 34.64 kB / 0.8469 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5314, allocations: 0 / 0.8469 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.5317, allocations: 97.58 kB / 0.847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.5318, allocations: 51.41 kB / 0.8471 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.5319, allocations: 105.8 kB / 0.8472 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.5319, allocations: 25.7 kB / 0.8472 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.5319, allocations: 88.05 kB / 0.8473 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.532, allocations: 4.062 kB / 0.8473 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.532, allocations: 4 kB / 0.8473 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5321, allocations: 318.8 kB / 0.8476 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.5322, allocations: 19.98 kB / 0.8476 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.5322, allocations: 19.98 kB / 0.8476 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.5324, allocations: 52.83 kB / 0.8477 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5324, allocations: 0 / 0.8477 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001977/0.5326, allocations: 85.5 kB / 0.8478 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5326, allocations: 4 kB / 0.8478 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.5326, allocations: 0 / 0.8478 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.5327, allocations: 0 / 0.8478 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.5327, allocations: 11.98 kB / 0.8478 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5328, allocations: 4 kB / 0.8478 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.5328, allocations: 19.95 kB / 0.8478 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.5328, allocations: 4 kB / 0.8478 GB, free: 15.03 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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 6.552e-05/0.5329, allocations: 113.8 kB / 0.8479 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.5329, allocations: 0 / 0.8479 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.5332, allocations: 88.72 kB / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5332, allocations: 0 / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5332, allocations: 0 / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5332, allocations: 0 / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.5333, allocations: 165.5 kB / 0.8482 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5334, allocations: 0 / 0.8482 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.5334, allocations: 15.98 kB / 0.8482 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5334, allocations: 0 / 0.8482 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.5334, allocations: 4.031 kB / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5334, allocations: 0 / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5335, allocations: 0 / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.5337, allocations: 179.4 kB / 0.8484 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.5337, allocations: 85.02 kB / 0.8484 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.5338, allocations: 0 / 0.8484 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.5338, allocations: 7.984 kB / 0.8485 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.5339, allocations: 4 kB / 0.8485 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.5339, allocations: 0 / 0.8485 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.5339, allocations: 83.45 kB / 0.8485 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5339, allocations: 0 / 0.8485 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002159/0.5341, allocations: 19.97 kB / 0.8486 GB, free: 14.19 MB / 0.5261 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 (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.0001619/0.5343, allocations: 119.2 kB / 0.8487 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.5345, allocations: 47.95 kB / 0.8487 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5345, allocations: 4.062 kB / 0.8487 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.5346, allocations: 23.92 kB / 0.8487 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.5348, allocations: 11.94 kB / 0.8488 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.5351, allocations: 120.6 kB / 0.8489 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.5354, allocations: 0.681 MB / 0.8495 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.5354, allocations: 0 / 0.8495 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.5354, allocations: 11.44 kB / 0.8495 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.5354, allocations: 0 / 0.8495 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.002326/0.5378, allocations: 0.5263 MB / 0.8501 GB, free: 12.59 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)