Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.586/2.586, allocations: 409.4 MB / 0.684 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 16 kB / 0.8378 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.7571, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001636/0.7588, allocations: 1.194 MB / 0.9823 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.76, allocations: 0.7608 MB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.76, allocations: 0 / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.7601, allocations: 3.938 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.7601, allocations: 15.92 kB / 0.9831 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.7605, allocations: 107.5 kB / 0.9832 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.7606, allocations: 51.83 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.7607, allocations: 4 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.7608, allocations: 19.92 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.7609, allocations: 19.91 kB / 0.9833 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.7609, allocations: 8 kB / 0.9833 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.7612, allocations: 167.7 kB / 0.9834 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.7612, allocations: 11.88 kB / 0.9834 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.7613, allocations: 29.7 kB / 0.9835 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.7615, allocations: 106 kB / 0.9836 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.7615, allocations: 4 kB / 0.9836 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7615, allocations: 0 / 0.9836 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7615, allocations: 0 / 0.9836 GB, free: 3.789 MB / 0.7325 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.0005332/0.762, allocations: 405 kB / 0.984 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.7621, allocations: 8.031 kB / 0.984 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.7621, allocations: 30.56 kB / 0.984 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.7622, allocations: 4 kB / 0.984 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.7623, allocations: 178.8 kB / 0.9842 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.7623, allocations: 3.984 kB / 0.9842 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.7623, allocations: 11.95 kB / 0.9842 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.7626, allocations: 85.64 kB / 0.9843 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.7626, allocations: 0 / 0.9843 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.7626, allocations: 0 / 0.9843 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7626, allocations: 4 kB / 0.9843 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.7629, allocations: 87.92 kB / 0.9843 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.7633, allocations: 288.7 kB / 0.9846 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.7634, allocations: 66.64 kB / 0.9847 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.7636, allocations: 56.75 kB / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.7638, allocations: 93.03 kB / 0.9848 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.7638, allocations: 34.56 kB / 0.9849 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7638, allocations: 0 / 0.9849 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005057/0.7643, allocations: 165.5 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.7644, allocations: 51.41 kB / 0.9851 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.7645, allocations: 113.8 kB / 0.9852 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.7645, allocations: 25.7 kB / 0.9852 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.7645, allocations: 92.14 kB / 0.9853 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.7645, allocations: 19.73 kB / 0.9853 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.7646, allocations: 0 / 0.9853 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.7646, allocations: 318.8 kB / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.7648, allocations: 47.95 kB / 0.9857 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.7649, allocations: 35.97 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.7651, allocations: 43.97 kB / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7651, allocations: 0 / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003019/0.7654, allocations: 125.5 kB / 0.9859 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7654, allocations: 8 kB / 0.9859 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7654, allocations: 4 kB / 0.9859 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7654, allocations: 0 / 0.9859 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.7656, allocations: 19.98 kB / 0.9859 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7656, allocations: 4 kB / 0.9859 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.7657, allocations: 19.98 kB / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.7657, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 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 7.958e-05/0.7658, allocations: 117.8 kB / 0.986 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.7658, allocations: 3.906 kB / 0.986 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.7661, allocations: 133.5 kB / 0.9862 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7661, allocations: 0 / 0.9862 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7661, allocations: 4.375 kB / 0.9862 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7662, allocations: 0 / 0.9862 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.7663, allocations: 181.7 kB / 0.9863 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7663, allocations: 0 / 0.9863 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.7664, allocations: 15.98 kB / 0.9863 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7664, allocations: 11.92 kB / 0.9864 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.7664, allocations: 0 / 0.9864 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7664, allocations: 0 / 0.9864 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7664, allocations: 4 kB / 0.9864 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.7668, allocations: 219.4 kB / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.7668, allocations: 85.06 kB / 0.9866 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.7668, allocations: 0 / 0.9866 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.7669, allocations: 15.98 kB / 0.9867 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.767, allocations: 11.92 kB / 0.9867 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.767, allocations: 4 kB / 0.9867 GB, free: 256 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.7671, allocations: 99.2 kB / 0.9868 GB, free: 156 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7671, allocations: 0 / 0.9868 GB, free: 156 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002594/0.7673, allocations: 31.94 kB / 0.9868 GB, free: 124 kB / 0.7325 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.0006944/0.768, allocations: 0.7748 MB / 0.9876 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.7684, allocations: 95.86 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7684, allocations: 4 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.7685, allocations: 47.95 kB / 0.9877 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.7688, allocations: 8 kB / 0.9877 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.7699, allocations: 0.5757 MB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.7701, allocations: 0.6809 MB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.7702, allocations: 7.984 kB / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.7702, allocations: 19.44 kB / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.7702, allocations: 0 / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.7826, allocations: 2.097 MB / 0.991 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.7828, allocations: 196 kB / 0.9912 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.644, allocations: 0 / 0.9912 GB, free: 11.62 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat does not exist to compare? outputFormat=mat