Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",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.8919/0.8919, allocations: 143.3 MB / 158.3 MB, free: 5.754 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.001306/0.001305, allocations: 185 kB / 191.5 MB, free: 5.746 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.6/1.6, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.000963/0.000963, allocations: 98.19 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 266.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004384, allocations: 22.5 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1619, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.7057, allocations: 110.6 MB / 0.8818 GB, free: 32.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.706, allocations: 77.81 kB / 0.8819 GB, free: 32.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00763/0.7136, allocations: 2.544 MB / 0.8844 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7136, allocations: 0 / 0.8844 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7137, allocations: 2.688 kB / 0.8844 GB, free: 31.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004818/0.7141, allocations: 407.2 kB / 0.8848 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7142, allocations: 7.875 kB / 0.8848 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.7142, allocations: 37.03 kB / 0.8848 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.7143, allocations: 6.5 kB / 0.8848 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.411e-05/0.7144, allocations: 171.4 kB / 0.885 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7144, allocations: 11.52 kB / 0.885 GB, free: 31.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.7144, allocations: 6.344 kB / 0.885 GB, free: 31.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.7146, allocations: 82.28 kB / 0.8851 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7147, allocations: 3.531 kB / 0.8851 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7147, allocations: 3 kB / 0.8851 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7147, allocations: 4 kB / 0.8851 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.715, allocations: 90.05 kB / 0.8852 GB, free: 31.01 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.7153, allocations: 292.2 kB / 0.8855 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.7156, allocations: 68.06 kB / 0.8855 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.7157, allocations: 89.12 kB / 0.8856 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.7158, allocations: 32.52 kB / 0.8856 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.7158, allocations: 0 / 0.8856 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005543/0.7163, allocations: 171.3 kB / 0.8858 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.7164, allocations: 51.41 kB / 0.8858 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.7164, allocations: 108.2 kB / 0.8859 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.7165, allocations: 25.7 kB / 0.886 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.7165, allocations: 92.08 kB / 0.8861 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.7165, allocations: 11.8 kB / 0.8861 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.7165, allocations: 0 / 0.8861 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.7166, allocations: 321.5 kB / 0.8864 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.7168, allocations: 42.28 kB / 0.8864 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.7169, allocations: 44.7 kB / 0.8865 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.717, allocations: 42.5 kB / 0.8865 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.717, allocations: 0 / 0.8865 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003003/0.7174, allocations: 124.2 kB / 0.8866 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7174, allocations: 9.828 kB / 0.8866 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7174, allocations: 2.469 kB / 0.8866 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7174, allocations: 0 / 0.8866 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.7175, allocations: 24.48 kB / 0.8867 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7175, allocations: 0 / 0.8867 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.7176, allocations: 20.47 kB / 0.8867 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.7176, allocations: 7.203 kB / 0.8867 GB, free: 29.88 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.119e-05/0.7177, allocations: 114.9 kB / 0.8868 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.7177, allocations: 3.672 kB / 0.8868 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.7181, allocations: 131.2 kB / 0.8869 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7181, allocations: 2.625 kB / 0.8869 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7181, allocations: 1.625 kB / 0.8869 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7182, allocations: 0 / 0.8869 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.7183, allocations: 178.1 kB / 0.8871 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7183, allocations: 0.5625 kB / 0.8871 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.7184, allocations: 24.11 kB / 0.8871 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7184, allocations: 0 / 0.8871 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.7184, allocations: 0.75 kB / 0.8871 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7184, allocations: 0.6094 kB / 0.8871 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7184, allocations: 6.875 kB / 0.8871 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.7188, allocations: 224.8 kB / 0.8873 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.7188, allocations: 86.23 kB / 0.8874 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.7188, allocations: 3.406 kB / 0.8874 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.719, allocations: 16.64 kB / 0.8874 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.719, allocations: 4.688 kB / 0.8874 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.719, allocations: 0 / 0.8874 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.7191, allocations: 98.89 kB / 0.8875 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7191, allocations: 0 / 0.8875 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002716/0.7193, allocations: 43.16 kB / 0.8876 GB, free: 29.17 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006223/0.72, allocations: 0.784 MB / 0.8883 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.7203, allocations: 91.08 kB / 0.8884 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7203, allocations: 2.844 kB / 0.8884 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.7205, allocations: 50.97 kB / 0.8885 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.7207, allocations: 13.89 kB / 0.8885 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.7217, allocations: 0.5712 MB / 0.8891 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.7229, allocations: 0.69 MB / 0.8897 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.7229, allocations: 3.375 kB / 0.8897 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.723, allocations: 15.69 kB / 0.8897 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of SimCode: time 2.11e-07/0.723, allocations: 0 / 0.8897 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.7358, allocations: 2.035 MB / 0.8917 GB, free: 43.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.736, allocations: 192.7 kB / 0.8919 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.261, allocations: 0 / 0.8919 GB, free: 42.98 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)