Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.001057/0.001057, allocations: 86.09 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.001324/0.001324, 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.572/1.572, allocations: 223.2 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.729/2.729, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7524, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001376/0.7538, allocations: 0.9996 MB / 0.9821 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.9202, allocations: 134.1 MB / 1.113 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.9203, allocations: 7.938 kB / 1.113 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.9203, allocations: 0 / 1.113 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.9204, allocations: 3.938 kB / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.9208, allocations: 99.61 kB / 1.113 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.9208, allocations: 15.88 kB / 1.113 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.9209, allocations: 0 / 1.113 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.9209, allocations: 8 kB / 1.113 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.921, allocations: 15.91 kB / 1.113 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.921, allocations: 0 / 1.113 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.9214, allocations: 167.7 kB / 1.113 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.9214, allocations: 7.938 kB / 1.113 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.9214, allocations: 29.7 kB / 1.113 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.9216, allocations: 86.11 kB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9216, allocations: 0 / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9216, allocations: 0 / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.9216, allocations: 0 / 1.113 GB, free: 14.39 MB / 0.8731 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.000321/0.922, allocations: 343.2 kB / 1.114 GB, free: 14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.922, allocations: 12.03 kB / 1.114 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.9221, allocations: 34.55 kB / 1.114 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/0.9226, allocations: 39.95 kB / 1.114 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.9228, allocations: 159.1 kB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.9228, allocations: 7.953 kB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.9228, allocations: 0 / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.923, allocations: 53.59 kB / 1.114 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.923, allocations: 0 / 1.114 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.923, allocations: 0 / 1.114 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.923, allocations: 4 kB / 1.114 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.9231, allocations: 15.98 kB / 1.114 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.9237, allocations: 248.9 kB / 1.114 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 5.915e-05/0.9237, allocations: 26.58 kB / 1.114 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.9238, allocations: 16.86 kB / 1.114 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.9238, allocations: 0 / 1.114 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.9238, allocations: 38.5 kB / 1.114 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9238, allocations: 0 / 1.114 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.924, allocations: 41.59 kB / 1.114 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.9241, allocations: 59.41 kB / 1.115 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.9242, allocations: 110 kB / 1.115 GB, free: 13 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.9242, allocations: 29.7 kB / 1.115 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.9243, allocations: 84.08 kB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.9243, allocations: 7.906 kB / 1.115 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.9243, allocations: 0 / 1.115 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.9246, allocations: 326.8 kB / 1.115 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.9246, allocations: 4 kB / 1.115 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.9247, allocations: 15.92 kB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.9248, allocations: 19.98 kB / 1.115 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9248, allocations: 0 / 1.115 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001623/0.9249, allocations: 53.67 kB / 1.115 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.925, allocations: 4 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.925, allocations: 0 / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.925, allocations: 4 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.9251, allocations: 7.984 kB / 1.115 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.9251, allocations: 4 kB / 1.115 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.9252, allocations: 15.92 kB / 1.115 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.9253, allocations: 0 / 1.115 GB, free: 12.41 MB / 0.8731 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 9.473e-05/0.9254, allocations: 109.8 kB / 1.115 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.9254, allocations: 11.89 kB / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.9254, allocations: 7.125 kB / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9254, allocations: 0 / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9254, allocations: 4 kB / 1.115 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.9254, allocations: 3.938 kB / 1.115 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.9256, allocations: 153.6 kB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9256, allocations: 0 / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.9256, allocations: 4 kB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9257, allocations: 0 / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.9257, allocations: 0 / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.9257, allocations: 4 kB / 1.115 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9257, allocations: 0 / 1.115 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.9258, allocations: 143.5 kB / 1.116 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.9259, allocations: 85.05 kB / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.9259, allocations: 0 / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.926, allocations: 4 kB / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.926, allocations: 0 / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.926, allocations: 3.938 kB / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.972e-05/0.9261, allocations: 91.27 kB / 1.116 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9261, allocations: 32 / 1.116 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002466/0.9264, allocations: 20 kB / 1.116 GB, free: 11.69 MB / 0.8731 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 (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.0005304/0.9269, allocations: 0.685 MB / 1.116 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.9271, allocations: 24.02 kB / 1.116 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9271, allocations: 0 / 1.116 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.9271, allocations: 7.938 kB / 1.116 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.9274, allocations: 15.97 kB / 1.116 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.928, allocations: 168 kB / 1.117 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.9283, allocations: 0.6771 MB / 1.117 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.338e-05/0.9284, allocations: 8.562 kB / 1.117 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.9285, allocations: 11.44 kB / 1.117 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.9285, allocations: 0 / 1.117 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.9402, allocations: 1.391 MB / 1.119 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.9405, allocations: 203.6 kB / 1.119 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.765, allocations: 0 / 1.119 GB, free: 8.566 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat does not exist to compare? outputFormat=mat