Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_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.001368/0.001368, allocations: 100.1 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.001526/0.001526, 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 1.353/1.353, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003585, allocations: 8 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7338, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001244/0.735, allocations: 0.9811 MB / 0.9546 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.7362, allocations: 0.7277 MB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.7362, allocations: 0 / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.7362, allocations: 3.938 kB / 0.9553 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.7363, allocations: 4.984 kB / 0.9553 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.7367, allocations: 113.3 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.7368, allocations: 15.03 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.7368, allocations: 2.5 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.7368, allocations: 16.86 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.7369, allocations: 12.86 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.7369, allocations: 1.312 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.7372, allocations: 181.1 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.7373, allocations: 5.203 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.7373, allocations: 27.98 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.7375, allocations: 82.14 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.7375, allocations: 5.188 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7375, allocations: 3.938 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.7375, allocations: 0 / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003307/0.7378, allocations: 359.1 kB / 0.9561 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7379, allocations: 9.812 kB / 0.9561 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.7379, allocations: 35.56 kB / 0.9561 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.738, allocations: 2.188 kB / 0.9561 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.393e-05/0.738, allocations: 160.3 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.7381, allocations: 32.91 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.7381, allocations: 1.25 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.7382, allocations: 45.45 kB / 0.9563 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.7383, allocations: 1.312 kB / 0.9563 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.7383, allocations: 7.953 kB / 0.9563 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7383, allocations: 1.125 kB / 0.9563 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.7384, allocations: 22.11 kB / 0.9564 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.7385, allocations: 157.9 kB / 0.9565 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.7387, allocations: 49.45 kB / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.739, allocations: 187 kB / 0.9567 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.739, allocations: 35.91 kB / 0.9568 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.739, allocations: 0 / 0.9568 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002288/0.7392, allocations: 67.48 kB / 0.9568 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.7393, allocations: 60.39 kB / 0.9569 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.7393, allocations: 97.88 kB / 0.957 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.7393, allocations: 29.7 kB / 0.957 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.592e-05/0.7394, allocations: 81.11 kB / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.7394, allocations: 9.938 kB / 0.9571 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.7394, allocations: 0 / 0.9571 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.7394, allocations: 311.9 kB / 0.9574 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.7395, allocations: 13.05 kB / 0.9574 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.7395, allocations: 6.281 kB / 0.9574 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.7396, allocations: 13.61 kB / 0.9574 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7396, allocations: 4 kB / 0.9574 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.7397, allocations: 55.06 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.7397, allocations: 6.438 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.7398, allocations: 0 / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.7398, allocations: 1.25 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.7398, allocations: 11.3 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7398, allocations: 3.953 kB / 0.9575 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.7399, allocations: 5.312 kB / 0.9575 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.7399, allocations: 9.406 kB / 0.9575 GB, free: 4.484 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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 5.201e-05/0.7399, allocations: 111.4 kB / 0.9576 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.74, allocations: 1.344 kB / 0.9576 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.7401, allocations: 72.41 kB / 0.9577 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7401, allocations: 3.984 kB / 0.9577 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7401, allocations: 1.219 kB / 0.9577 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7402, allocations: 3.953 kB / 0.9577 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.568e-05/0.7402, allocations: 154.5 kB / 0.9579 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7402, allocations: 1.188 kB / 0.9579 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.7403, allocations: 9.969 kB / 0.9579 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7403, allocations: 5.5 kB / 0.9579 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.7403, allocations: 4 kB / 0.9579 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7403, allocations: 0 / 0.9579 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7403, allocations: 5.156 kB / 0.9579 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.7405, allocations: 87.41 kB / 0.958 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.7405, allocations: 87.56 kB / 0.958 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.7405, allocations: 1.25 kB / 0.958 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.7406, allocations: 5 kB / 0.9581 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.7406, allocations: 2.938 kB / 0.9581 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.7406, allocations: 5.406 kB / 0.9581 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.073e-05/0.7407, allocations: 85.7 kB / 0.9581 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7407, allocations: 0 / 0.9581 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002373/0.7409, allocations: 27.16 kB / 0.9582 GB, free: 3.805 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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.0003996/0.7413, allocations: 0.6637 MB / 0.9588 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.7415, allocations: 28.42 kB / 0.9588 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7415, allocations: 0.7812 kB / 0.9588 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.7415, allocations: 18.83 kB / 0.9589 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.7417, allocations: 2.812 kB / 0.9589 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.7421, allocations: 184.7 kB / 0.959 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.963e-05/0.7422, allocations: 0.6819 MB / 0.9597 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.7422, allocations: 11.95 kB / 0.9597 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.7423, allocations: 9.031 kB / 0.9597 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7423, allocations: 0 / 0.9597 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.754, allocations: 1.699 MB / 0.9614 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.7543, allocations: 195.6 kB / 0.9616 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.509, allocations: 0 / 0.9616 GB, free: 1.191 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat does not exist to compare? outputFormat=mat