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.775/0.775, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 184.4 kB / 187.3 MB, free: 11.89 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.428/1.428, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.001007/0.001007, allocations: 91.81 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001907, allocations: 270.8 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.394e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.497, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.6175, allocations: 109.2 MB / 0.871 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.6178, allocations: 76.83 kB / 0.8711 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003928/0.6218, allocations: 1.285 MB / 0.8723 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6218, allocations: 0 / 0.8723 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.6218, allocations: 0 / 0.8723 GB, free: 14.01 MB / 0.5417 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.0003513/0.6222, allocations: 354.5 kB / 0.8727 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6222, allocations: 12.03 kB / 0.8727 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.6223, allocations: 34.56 kB / 0.8727 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.6223, allocations: 0 / 0.8727 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6225, allocations: 171 kB / 0.8729 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.6225, allocations: 0 / 0.8729 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.6225, allocations: 0 / 0.8729 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.6226, allocations: 45.62 kB / 0.8729 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.6226, allocations: 4 kB / 0.8729 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.6226, allocations: 0 / 0.8729 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.6226, allocations: 0 / 0.8729 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.6227, allocations: 8 kB / 0.8729 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.623, allocations: 256.8 kB / 0.8732 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.6231, allocations: 30.52 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.6231, allocations: 16.91 kB / 0.8732 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6232, allocations: 0 / 0.8732 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.6232, allocations: 30.56 kB / 0.8732 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.6232, allocations: 0 / 0.8732 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.6233, allocations: 41.7 kB / 0.8733 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.6234, allocations: 51.41 kB / 0.8733 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.6235, allocations: 96.98 kB / 0.8734 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.6235, allocations: 29.73 kB / 0.8734 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.6235, allocations: 80.14 kB / 0.8735 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.6236, allocations: 11.91 kB / 0.8735 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.6236, allocations: 0 / 0.8735 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6237, allocations: 316.8 kB / 0.8738 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.6237, allocations: 7.938 kB / 0.8738 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.6237, allocations: 8 kB / 0.8739 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.857e-05/0.6238, allocations: 0 / 0.8739 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.6238, allocations: 8.047 kB / 0.8739 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.57e-05/0.6238, allocations: 41.7 kB / 0.8739 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6239, allocations: 4 kB / 0.8739 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6239, allocations: 3.938 kB / 0.8739 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6239, allocations: 4 kB / 0.8739 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.624, allocations: 11.98 kB / 0.8739 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.624, allocations: 3.938 kB / 0.8739 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.6241, allocations: 12.02 kB / 0.8739 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6241, allocations: 4 kB / 0.8739 GB, free: 12.13 MB / 0.5417 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 6.752e-05/0.6241, allocations: 108.9 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.6242, allocations: 0 / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.6243, allocations: 52.66 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.6243, allocations: 4 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6243, allocations: 0 / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6243, allocations: 0 / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6245, allocations: 157.6 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6245, allocations: 4.031 kB / 0.8743 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.6245, allocations: 11.98 kB / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6246, allocations: 0 / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.6246, allocations: 0 / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.6246, allocations: 0 / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6246, allocations: 4 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.6247, allocations: 143.5 kB / 0.8744 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.6247, allocations: 85.06 kB / 0.8745 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.6248, allocations: 4 kB / 0.8745 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.6248, allocations: 7.984 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.6249, allocations: 4 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.6249, allocations: 0 / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.6249, allocations: 79.28 kB / 0.8746 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6249, allocations: 0 / 0.8746 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002001/0.6252, allocations: 19.92 kB / 0.8746 GB, free: 11.36 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.0003985/0.6256, allocations: 0.689 MB / 0.8753 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.426e-05/0.6256, allocations: 12 kB / 0.8753 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6256, allocations: 0 / 0.8753 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.6257, allocations: 12.09 kB / 0.8753 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.6258, allocations: 7.938 kB / 0.8753 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.6261, allocations: 104.7 kB / 0.8754 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.6264, allocations: 0.677 MB / 0.8761 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.6264, allocations: 7.938 kB / 0.8761 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.6264, allocations: 7.438 kB / 0.8761 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/0.6265, allocations: 0 / 0.8761 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.6379, allocations: 1.213 MB / 0.8773 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.6381, allocations: 184.1 kB / 0.8774 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.187, allocations: 0 / 0.8774 GB, free: 8.496 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)