Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 221.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.334/3.334, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 68.62 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.428, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00369/0.4316, allocations: 1.642 MB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1957/0.6273, allocations: 133.1 MB / 1.477 GB, free: 8.695 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.6275, allocations: 0 / 1.477 GB, free: 8.695 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.6277, allocations: 15.8 kB / 1.477 GB, free: 8.68 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.6281, allocations: 47.7 kB / 1.477 GB, free: 8.633 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.6287, allocations: 147.4 kB / 1.477 GB, free: 8.488 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.629, allocations: 119.6 kB / 1.477 GB, free: 8.371 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.6292, allocations: 21.58 kB / 1.477 GB, free: 8.348 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.6309, allocations: 191.9 kB / 1.477 GB, free: 8.184 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.631, allocations: 39.78 kB / 1.477 GB, free: 8.145 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.6311, allocations: 8 kB / 1.477 GB, free: 8.137 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.6316, allocations: 183.7 kB / 1.478 GB, free: 7.957 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.6317, allocations: 19.92 kB / 1.478 GB, free: 7.938 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.6318, allocations: 35.8 kB / 1.478 GB, free: 7.902 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.6322, allocations: 203.2 kB / 1.478 GB, free: 7.703 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6322, allocations: 0 / 1.478 GB, free: 7.703 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6322, allocations: 0 / 1.478 GB, free: 7.703 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.6323, allocations: 4 kB / 1.478 GB, free: 7.699 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007944/0.6331, allocations: 373.5 kB / 1.478 GB, free: 7.305 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 7.41e-05/0.6331, allocations: 16.02 kB / 1.478 GB, free: 7.289 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.107e-05/0.6331, allocations: 192 / 1.478 GB, free: 7.289 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.6332, allocations: 42.5 kB / 1.478 GB, free: 7.238 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6343, allocations: 83.84 kB / 1.478 GB, free: 7.156 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.6346, allocations: 150.2 kB / 1.478 GB, free: 6.984 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.6346, allocations: 4 kB / 1.478 GB, free: 6.98 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.6346, allocations: 8 kB / 1.478 GB, free: 6.973 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.6351, allocations: 147.9 kB / 1.479 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6351, allocations: 0 / 1.479 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.6351, allocations: 3.938 kB / 1.479 GB, free: 6.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6351, allocations: 0 / 1.479 GB, free: 6.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.6357, allocations: 139.9 kB / 1.479 GB, free: 6.684 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.6366, allocations: 367.4 kB / 1.479 GB, free: 6.281 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.6373, allocations: 166.6 kB / 1.479 GB, free: 6.109 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.6375, allocations: 72.8 kB / 1.479 GB, free: 6.035 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.6376, allocations: 3.984 kB / 1.479 GB, free: 6.031 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.6376, allocations: 38.5 kB / 1.479 GB, free: 5.984 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.6376, allocations: 0 / 1.479 GB, free: 5.984 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008157/0.6384, allocations: 221.4 kB / 1.48 GB, free: 5.762 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.6385, allocations: 55.41 kB / 1.48 GB, free: 5.695 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.6386, allocations: 143.9 kB / 1.48 GB, free: 5.547 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.6387, allocations: 25.7 kB / 1.48 GB, free: 5.516 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.6387, allocations: 104.1 kB / 1.48 GB, free: 5.41 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.6388, allocations: 31.88 kB / 1.48 GB, free: 5.379 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.6388, allocations: 21.7 kB / 1.48 GB, free: 5.352 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.639, allocations: 322.8 kB / 1.48 GB, free: 5.027 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.6392, allocations: 59.94 kB / 1.48 GB, free: 4.969 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.6395, allocations: 129.9 kB / 1.48 GB, free: 4.82 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.6399, allocations: 120.8 kB / 1.481 GB, free: 4.699 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6399, allocations: 0 / 1.481 GB, free: 4.699 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004902/0.6404, allocations: 157.5 kB / 1.481 GB, free: 4.539 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6404, allocations: 8 kB / 1.481 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.6404, allocations: 4 kB / 1.481 GB, free: 4.527 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.6404, allocations: 0 / 1.481 GB, free: 4.527 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6406, allocations: 31.91 kB / 1.481 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6406, allocations: 0 / 1.481 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.6408, allocations: 31.73 kB / 1.481 GB, free: 4.465 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.6408, allocations: 4 kB / 1.481 GB, free: 4.461 MB / 1.17 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.6409, allocations: 117.8 kB / 1.481 GB, free: 4.336 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.641, allocations: 15.94 kB / 1.481 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.641, allocations: 20.7 kB / 1.481 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.641, allocations: 0 / 1.481 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6411, allocations: 4 kB / 1.481 GB, free: 4.293 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6411, allocations: 3.938 kB / 1.481 GB, free: 4.289 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00085/0.6419, allocations: 414 kB / 1.481 GB, free: 3.836 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6419, allocations: 0 / 1.481 GB, free: 3.836 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.6421, allocations: 31.89 kB / 1.481 GB, free: 3.805 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.6421, allocations: 4 kB / 1.481 GB, free: 3.801 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.6421, allocations: 7.938 kB / 1.481 GB, free: 3.793 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6421, allocations: 4 kB / 1.481 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6421, allocations: 0 / 1.481 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.6427, allocations: 255.5 kB / 1.482 GB, free: 3.523 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.6427, allocations: 7.953 kB / 1.482 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.6427, allocations: 15.88 kB / 1.482 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.6429, allocations: 15.97 kB / 1.482 GB, free: 3.484 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.643, allocations: 7.984 kB / 1.482 GB, free: 3.477 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.643, allocations: 8 kB / 1.482 GB, free: 3.469 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.545e-05/0.6431, allocations: 117 kB / 1.482 GB, free: 3.355 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6431, allocations: 0 / 1.482 GB, free: 3.355 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002995/0.6434, allocations: 35.89 kB / 1.482 GB, free: 3.32 MB / 1.17 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009545/0.6443, allocations: 0.7982 MB / 1.483 GB, free: 2.496 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005256/0.6449, allocations: 123.8 kB / 1.483 GB, free: 2.375 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6449, allocations: 0 / 1.483 GB, free: 2.375 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.6451, allocations: 67.94 kB / 1.483 GB, free: 2.309 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.6455, allocations: 27.91 kB / 1.483 GB, free: 2.281 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.6488, allocations: 1.739 MB / 1.485 GB, free: 468 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.6489, allocations: 84.19 kB / 1.485 GB, free: 364 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.6491, allocations: 24.42 kB / 1.485 GB, free: 340 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.6492, allocations: 31.42 kB / 1.485 GB, free: 308 kB / 1.17 GB Notification: Performance of SimCode: time 1.303e-06/0.6492, allocations: 96 / 1.485 GB, free: 308 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.675, allocations: 3.74 MB / 1.488 GB, free: 12.75 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.92, allocations: 5.312 kB / 1.488 GB, free: 12.75 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.152289362973534] Failed to read output from testmodel.py, exit status != 0: 12.088815898052417 12.104718117 11.469262113 Calling exit ...