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.001471/0.001471, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001886/0.001887, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.517/2.517, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.62/4.62, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008612/0.0008616, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82/1.821, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.004556/1.826, allocations: 1.19 MB / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002931/1.829, allocations: 0.6712 MB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/1.829, allocations: 0 / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/1.829, allocations: 7.938 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/1.829, allocations: 11.98 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/1.83, allocations: 99.7 kB / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/1.83, allocations: 27.95 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/1.83, allocations: 15.98 kB / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/1.831, allocations: 27.91 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/1.831, allocations: 15.92 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/1.831, allocations: 4 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006641/1.831, allocations: 171.7 kB / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/1.831, allocations: 3.938 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/1.832, allocations: 33.7 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/1.832, allocations: 94.06 kB / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.832, allocations: 0 / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.785e-06/1.832, allocations: 0 / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.236e-06/1.832, allocations: 0 / 0.9832 GB, free: 3.902 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.001079/1.833, allocations: 403.1 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.809e-05/1.833, allocations: 8.031 kB / 0.9836 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.231e-05/1.833, allocations: 34.56 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/1.833, allocations: 3.984 kB / 0.9836 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/1.834, allocations: 178.9 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/1.834, allocations: 4 kB / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/1.834, allocations: 7.953 kB / 0.9838 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/1.834, allocations: 77.66 kB / 0.9838 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.834, allocations: 3.984 kB / 0.9839 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/1.834, allocations: 0 / 0.9839 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/1.834, allocations: 8 kB / 0.9839 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/1.835, allocations: 99.89 kB / 0.984 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007661/1.836, allocations: 288.6 kB / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/1.836, allocations: 70.53 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/1.837, allocations: 89.19 kB / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/1.837, allocations: 34.5 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 3.176e-06/1.837, allocations: 0 / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.001184/1.838, allocations: 173.5 kB / 0.9846 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/1.838, allocations: 51.41 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/1.838, allocations: 117.8 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/1.838, allocations: 25.7 kB / 0.9848 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.839, allocations: 92.12 kB / 0.9849 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/1.839, allocations: 11.81 kB / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/1.839, allocations: 0 / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002768/1.839, allocations: 326.8 kB / 0.9852 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/1.839, allocations: 39.95 kB / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/1.84, allocations: 39.97 kB / 0.9853 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/1.84, allocations: 43.95 kB / 0.9853 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.84, allocations: 0 / 0.9853 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005607/1.84, allocations: 121.6 kB / 0.9854 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.84, allocations: 8 kB / 0.9854 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.84, allocations: 4 kB / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.84, allocations: 0 / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/1.841, allocations: 23.98 kB / 0.9854 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.841, allocations: 0 / 0.9854 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/1.841, allocations: 15.98 kB / 0.9855 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/1.841, allocations: 7.984 kB / 0.9855 GB, free: 1.297 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 0.0001678/1.841, allocations: 117.7 kB / 0.9856 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/1.841, allocations: 3.906 kB / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/1.842, allocations: 133.5 kB / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.842, allocations: 0 / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.842, allocations: 0 / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.842, allocations: 0 / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/1.842, allocations: 181.7 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.842, allocations: 0 / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/1.843, allocations: 19.98 kB / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.843, allocations: 4 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.843, allocations: 4 kB / 0.9859 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.843, allocations: 3.938 kB / 0.9859 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.843, allocations: 0 / 0.9859 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.844, allocations: 215.8 kB / 0.9861 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/1.844, allocations: 85.06 kB / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/1.844, allocations: 4 kB / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.844, allocations: 19.98 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.844, allocations: 11.95 kB / 0.9862 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/1.845, allocations: 0 / 0.9862 GB, free: 416 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001206/1.845, allocations: 95.27 kB / 0.9863 GB, free: 320 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.845, allocations: 0 / 0.9863 GB, free: 320 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006694/1.845, allocations: 24 kB / 0.9864 GB, free: 296 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.001548/1.847, allocations: 0.7903 MB / 0.9871 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000623/1.848, allocations: 95.86 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.848, allocations: 0 / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/1.848, allocations: 47.95 kB / 0.9873 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/1.848, allocations: 9.375 kB / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/1.851, allocations: 0.5704 MB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009914/1.852, allocations: 0.6887 MB / 0.9885 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.927e-05/1.852, allocations: 4 kB / 0.9885 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/1.852, allocations: 19.44 kB / 0.9885 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of SimCode: time 3.627e-06/1.852, allocations: 0 / 0.9885 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/1.877, allocations: 2.073 MB / 0.9905 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003663/1.878, allocations: 185 kB / 0.9907 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/5.203, allocations: 4.062 kB / 0.9907 GB, free: 11.79 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