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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8479/0.8479, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 184.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.766/1.766, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 86.39 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002336/0.002336, allocations: 278.4 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.844e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5767, allocations: 82.78 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.7419, allocations: 108.5 MB / 0.8634 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.7423, allocations: 71.95 kB / 0.8635 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004762/0.7471, allocations: 1.279 MB / 0.8648 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7471, allocations: 0 / 0.8648 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.7472, allocations: 4 kB / 0.8648 GB, free: 1.953 MB / 0.5261 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.0004866/0.7477, allocations: 350.5 kB / 0.8651 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.7477, allocations: 8.031 kB / 0.8651 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.7478, allocations: 4 kB / 0.8651 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.748, allocations: 163.1 kB / 0.8653 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.748, allocations: 3.953 kB / 0.8653 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.748, allocations: 4 kB / 0.8653 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.066e-05/0.7481, allocations: 12 kB / 0.8653 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.569e-05/0.7482, allocations: 33.69 kB / 0.8653 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7482, allocations: 3.938 kB / 0.8653 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.7482, allocations: 0 / 0.8653 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7483, allocations: 3.938 kB / 0.8653 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.7487, allocations: 233.3 kB / 0.8655 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.7488, allocations: 26.58 kB / 0.8656 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.7488, allocations: 16.92 kB / 0.8656 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.7488, allocations: 0 / 0.8656 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.7489, allocations: 30.56 kB / 0.8656 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7489, allocations: 0 / 0.8656 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000198/0.7491, allocations: 45.62 kB / 0.8657 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.7491, allocations: 51.41 kB / 0.8657 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.7492, allocations: 89 kB / 0.8658 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.7493, allocations: 29.73 kB / 0.8658 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.7493, allocations: 88.14 kB / 0.8659 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.7494, allocations: 3.906 kB / 0.8659 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.7494, allocations: 0 / 0.8659 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7496, allocations: 314.8 kB / 0.8662 GB, free: 284 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.7496, allocations: 8 kB / 0.8662 GB, free: 276 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.7496, allocations: 4 kB / 0.8662 GB, free: 272 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.7496, allocations: 0 / 0.8662 GB, free: 272 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7496, allocations: 64 / 0.8662 GB, free: 272 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.034e-05/0.7497, allocations: 49.66 kB / 0.8663 GB, free: 216 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.7498, allocations: 4 kB / 0.8663 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7498, allocations: 3.984 kB / 0.8663 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.7498, allocations: 0 / 0.8663 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.7499, allocations: 15.88 kB / 0.8663 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7499, allocations: 4 kB / 0.8663 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.75, allocations: 11.98 kB / 0.8663 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.75, allocations: 4.031 kB / 0.8663 GB, free: 172 kB / 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 () * 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 9.597e-05/0.7501, allocations: 109 kB / 0.8664 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001079/0.7502, allocations: 45.55 kB / 0.8665 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.7503, allocations: 192 / 0.8665 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.7504, allocations: 45.52 kB / 0.8665 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.7505, allocations: 11.92 kB / 0.8665 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7505, allocations: 0 / 0.8665 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7505, allocations: 0 / 0.8665 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.7507, allocations: 142.2 kB / 0.8666 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7507, allocations: 3.938 kB / 0.8667 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.7508, allocations: 11.98 kB / 0.8667 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7508, allocations: 0 / 0.8667 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.7508, allocations: 0 / 0.8667 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7508, allocations: 3.594 kB / 0.8667 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7508, allocations: 0 / 0.8667 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.751, allocations: 143.5 kB / 0.8668 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.7511, allocations: 81.06 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.7511, allocations: 4 kB / 0.8669 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.7512, allocations: 7.984 kB / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.7512, allocations: 0 / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.7512, allocations: 4 kB / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.7513, allocations: 75.28 kB / 0.867 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7513, allocations: 0 / 0.867 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002447/0.7516, allocations: 19.97 kB / 0.867 GB, free: 15.39 MB / 0.5417 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 () * 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.0006678/0.7522, allocations: 0.6928 MB / 0.8677 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.193e-05/0.7523, allocations: 12 kB / 0.8677 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.7523, allocations: 0 / 0.8677 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.7524, allocations: 8.094 kB / 0.8677 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.7526, allocations: 11.94 kB / 0.8677 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.753, allocations: 95.5 kB / 0.8678 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.7534, allocations: 0.6768 MB / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.7534, allocations: 0 / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.7535, allocations: 19.42 kB / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.7535, allocations: 0 / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.7788, allocations: 0.9015 MB / 0.8693 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/0.7792, allocations: 164.8 kB / 0.8695 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.373, allocations: 1.562 kB / 0.8695 GB, free: 12.7 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)