Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001676/0.001676, 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.001862/0.001862, allocations: 220.4 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.532/1.532, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.002047/0.002047, allocations: 64.66 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00461/0.3496, allocations: 1.288 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3518, allocations: 0.771 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.3519, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.3519, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.352, allocations: 3.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/0.3529, allocations: 135.4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.353, allocations: 27.92 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.996e-05/0.3531, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.3532, allocations: 15.94 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.938e-05/0.3533, allocations: 11.97 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3533, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005071/0.3538, allocations: 163.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.3538, allocations: 15.91 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.3539, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3543, allocations: 123.9 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.3543, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.906e-06/0.3543, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.3544, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 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.0008226/0.3552, allocations: 282 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.843e-05/0.3553, allocations: 12.03 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.675e-05/0.3553, allocations: 192 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.416e-05/0.3553, allocations: 38.67 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.3554, allocations: 8.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3556, allocations: 118.4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.3558, allocations: 55.97 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3558, allocations: 384 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3561, allocations: 79.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3561, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3561, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3561, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3562, allocations: 23.98 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.3565, allocations: 128.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3568, allocations: 46.61 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.3569, allocations: 16.88 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.3571, allocations: 31.97 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3572, allocations: 38.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3572, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002956/0.3575, allocations: 69.61 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3575, allocations: 51.41 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.3576, allocations: 93.86 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3576, allocations: 29.7 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.3577, allocations: 80.14 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3577, allocations: 19.89 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.3577, allocations: 17.72 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3579, allocations: 310.8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.358, allocations: 7.984 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.3581, allocations: 12 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3582, allocations: 28.84 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3582, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001968/0.3584, allocations: 66.02 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3584, allocations: 6.031 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3584, allocations: 4 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3585, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.3585, allocations: 8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3585, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.3586, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.3586, allocations: 7.984 kB / 1.331 GB, free: 13.07 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.3587, allocations: 110.4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.3587, allocations: 15.92 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3589, allocations: 69.23 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3589, allocations: 4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3589, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3589, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3591, allocations: 128.7 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3591, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.3591, allocations: 11.94 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3591, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3592, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3592, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3592, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.3594, allocations: 81.11 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.3594, allocations: 15.94 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3595, allocations: 3.984 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.3595, allocations: 7.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.3596, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3596, allocations: 11.94 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.3596, allocations: 83.27 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3596, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002813/0.3599, allocations: 31.88 kB / 1.331 GB, free: 12.41 MB / 1.029 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 (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.0007323/0.3606, allocations: 0.6669 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3608, allocations: 27.92 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3608, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.3609, allocations: 11.98 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3612, allocations: 9.203 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.3618, allocations: 172.9 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.3619, allocations: 67.34 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.3619, allocations: 7.938 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.362, allocations: 11.44 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.362, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3882, allocations: 2.188 MB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.92, allocations: 5.375 kB / 1.334 GB, free: 9.32 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.86096011393238] Failed to read output from testmodel.py, exit status != 0: 12.080016916966997 12.098050385 11.739646724 Calling exit ...