Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.001774/0.001774, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002183/0.002183, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7678 GB, free: 9.504 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_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.002171/0.002171, allocations: 63.94 kB / 1.113 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9121/0.9143, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002859/0.9172, allocations: 1.52 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.9186, allocations: 0.8151 MB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.9186, allocations: 1.188 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.9187, allocations: 5.203 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.9187, allocations: 14.03 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.9192, allocations: 131.7 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.9193, allocations: 47.06 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.9194, allocations: 16.11 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.9195, allocations: 20.23 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.9196, allocations: 32.59 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.9196, allocations: 4.344 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.92, allocations: 172.2 kB / 1.282 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.92, allocations: 15.22 kB / 1.282 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.92, allocations: 23.91 kB / 1.282 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.9204, allocations: 155.1 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9204, allocations: 0 / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9204, allocations: 0.5938 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9204, allocations: 0 / 1.282 GB, free: 9.871 MB / 0.9981 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.0007001/0.9211, allocations: 401.4 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.9212, allocations: 10.41 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.58e-05/0.9212, allocations: 5.188 kB / 1.282 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.9212, allocations: 32.41 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.9213, allocations: 12.61 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.9214, allocations: 172.2 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.9214, allocations: 1.875 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.9214, allocations: 2.5 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.9218, allocations: 79.8 kB / 1.282 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9218, allocations: 1.203 kB / 1.282 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.9218, allocations: 4 kB / 1.282 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.9218, allocations: 1.812 kB / 1.282 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.9221, allocations: 68.98 kB / 1.283 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.9225, allocations: 279.2 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.9228, allocations: 62.09 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.9229, allocations: 37.39 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.9231, allocations: 88.73 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.9232, allocations: 36.33 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.9232, allocations: 4 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005895/0.9238, allocations: 129 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.9238, allocations: 53.2 kB / 1.283 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.9239, allocations: 116.9 kB / 1.283 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.9239, allocations: 34.44 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.924, allocations: 96.3 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.924, allocations: 13.95 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.9241, allocations: 12.98 kB / 1.283 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9242, allocations: 323.2 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.9244, allocations: 30.42 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.9245, allocations: 35.86 kB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.9248, allocations: 70.22 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9248, allocations: 1.656 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003445/0.9252, allocations: 98.16 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9252, allocations: 6.859 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9252, allocations: 0 / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9252, allocations: 0 / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.9253, allocations: 19.52 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.9254, allocations: 2.062 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.9254, allocations: 10.53 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.9254, allocations: 1.375 kB / 1.284 GB, free: 7.91 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.9255, allocations: 121.2 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.9256, allocations: 7.5 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.926, allocations: 104.7 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.926, allocations: 1.406 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.926, allocations: 4.547 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.926, allocations: 4 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.9262, allocations: 177.8 kB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9262, allocations: 0 / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.9263, allocations: 20.03 kB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9263, allocations: 0 / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9263, allocations: 1.281 kB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9263, allocations: 4.641 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9263, allocations: 0.9688 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.9267, allocations: 202.1 kB / 1.285 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.9268, allocations: 80.83 kB / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.9268, allocations: 0 / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.9269, allocations: 11.56 kB / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.927, allocations: 4.281 kB / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.927, allocations: 1.125 kB / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.9271, allocations: 100.3 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9271, allocations: 0 / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003269/0.9274, allocations: 37.53 kB / 1.285 GB, free: 7.164 MB / 0.9981 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 (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.0009844/0.9284, allocations: 0.7637 MB / 1.286 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.9287, allocations: 67.44 kB / 1.286 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9287, allocations: 0 / 1.286 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.9289, allocations: 38.44 kB / 1.286 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.9292, allocations: 17.58 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.9312, allocations: 1.432 MB / 1.287 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.9315, allocations: 0.6859 MB / 1.288 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.9316, allocations: 7.234 kB / 1.288 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.9316, allocations: 19.09 kB / 1.288 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.9316, allocations: 1.125 kB / 1.288 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.9514, allocations: 2.557 MB / 1.29 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/9.478, allocations: 20.72 kB / 1.29 GB, free: 3.992 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.100168575998396] Failed to read output from testmodel.py, exit status != 0: 9.606038386991713 9.623553932 8.699479929 Calling exit ...