Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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.001649/0.001649, allocations: 116.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.001983/0.001983, allocations: 212 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.519/1.519, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.294/3.294, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_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.002012/0.002012, allocations: 63.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002421/1.141, allocations: 1.3 MB / 1.341 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1961/1.337, allocations: 135.2 MB / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/1.337, allocations: 1.25 kB / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/1.337, allocations: 0 / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/1.337, allocations: 9.234 kB / 1.473 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/1.338, allocations: 55.19 kB / 1.474 GB, free: 10.44 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.534e-05/1.338, allocations: 22.64 kB / 1.474 GB, free: 10.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/1.338, allocations: 5.906 kB / 1.474 GB, free: 10.43 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/1.338, allocations: 13.58 kB / 1.474 GB, free: 10.42 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/1.338, allocations: 7.688 kB / 1.474 GB, free: 10.41 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/1.338, allocations: 1.688 kB / 1.474 GB, free: 10.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/1.338, allocations: 23.52 kB / 1.474 GB, free: 10.4 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/1.338, allocations: 0 / 1.474 GB, free: 10.4 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/1.338, allocations: 12.61 kB / 1.474 GB, free: 10.39 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/1.338, allocations: 28.03 kB / 1.474 GB, free: 10.38 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.338, allocations: 3.938 kB / 1.474 GB, free: 10.38 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.743e-06/1.338, allocations: 1.094 kB / 1.474 GB, free: 10.38 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.338, allocations: 0 / 1.474 GB, free: 10.38 MB / 1.154 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.000514/1.339, allocations: 342.5 kB / 1.474 GB, free: 10 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.339, allocations: 9.562 kB / 1.474 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.413e-05/1.339, allocations: 1.562 kB / 1.474 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/1.339, allocations: 30.75 kB / 1.474 GB, free: 9.965 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/1.339, allocations: 3.5 kB / 1.474 GB, free: 9.965 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/1.339, allocations: 165.8 kB / 1.474 GB, free: 9.766 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.694e-05/1.339, allocations: 37.28 kB / 1.474 GB, free: 9.727 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/1.339, allocations: 384 / 1.474 GB, free: 9.727 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/1.339, allocations: 48.47 kB / 1.474 GB, free: 9.68 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.339, allocations: 0 / 1.474 GB, free: 9.68 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/1.339, allocations: 0 / 1.474 GB, free: 9.68 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.339, allocations: 1.406 kB / 1.474 GB, free: 9.68 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/1.34, allocations: 18.55 kB / 1.474 GB, free: 9.668 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/1.34, allocations: 150.2 kB / 1.474 GB, free: 9.477 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/1.34, allocations: 30.77 kB / 1.474 GB, free: 9.445 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/1.34, allocations: 13.86 kB / 1.474 GB, free: 9.434 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.34, allocations: 88.94 kB / 1.475 GB, free: 9.336 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/1.34, allocations: 43.86 kB / 1.475 GB, free: 9.285 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/1.34, allocations: 0 / 1.475 GB, free: 9.285 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0002482/1.34, allocations: 59.05 kB / 1.475 GB, free: 9.238 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.34, allocations: 56.72 kB / 1.475 GB, free: 9.172 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/1.34, allocations: 96.88 kB / 1.475 GB, free: 9.07 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/1.34, allocations: 25.7 kB / 1.475 GB, free: 9.039 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/1.341, allocations: 81.55 kB / 1.475 GB, free: 8.957 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/1.341, allocations: 9.016 kB / 1.475 GB, free: 8.949 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/1.341, allocations: 16.27 kB / 1.475 GB, free: 8.93 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.341, allocations: 319.9 kB / 1.475 GB, free: 8.609 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/1.341, allocations: 9.406 kB / 1.475 GB, free: 8.605 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/1.341, allocations: 12.25 kB / 1.475 GB, free: 8.598 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/1.341, allocations: 23.03 kB / 1.475 GB, free: 8.582 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.341, allocations: 0 / 1.475 GB, free: 8.582 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001311/1.341, allocations: 55.3 kB / 1.475 GB, free: 8.535 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.341, allocations: 10 kB / 1.475 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.341, allocations: 0 / 1.475 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/1.341, allocations: 0 / 1.475 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/1.341, allocations: 5.125 kB / 1.475 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/1.341, allocations: 4 kB / 1.475 GB, free: 8.527 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/1.341, allocations: 6.5 kB / 1.475 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/1.341, allocations: 0 / 1.475 GB, free: 8.523 MB / 1.154 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 9.205e-05/1.341, allocations: 119.5 kB / 1.475 GB, free: 8.398 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/1.341, allocations: 5.438 kB / 1.475 GB, free: 8.395 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/1.341, allocations: 51.34 kB / 1.475 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.341, allocations: 0 / 1.475 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.341, allocations: 4.953 kB / 1.475 GB, free: 8.344 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.341, allocations: 4 kB / 1.475 GB, free: 8.34 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/1.342, allocations: 153.1 kB / 1.476 GB, free: 8.145 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.342, allocations: 1 kB / 1.476 GB, free: 8.145 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/1.342, allocations: 13.3 kB / 1.476 GB, free: 8.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.342, allocations: 0 / 1.476 GB, free: 8.137 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/1.342, allocations: 1.344 kB / 1.476 GB, free: 8.137 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.342, allocations: 0 / 1.476 GB, free: 8.137 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.342, allocations: 0 / 1.476 GB, free: 8.137 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/1.342, allocations: 88.56 kB / 1.476 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/1.342, allocations: 83.61 kB / 1.476 GB, free: 7.949 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/1.342, allocations: 3.938 kB / 1.476 GB, free: 7.945 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/1.342, allocations: 1.25 kB / 1.476 GB, free: 7.945 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/1.342, allocations: 6.641 kB / 1.476 GB, free: 7.941 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/1.342, allocations: 0 / 1.476 GB, free: 7.941 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.788e-05/1.342, allocations: 86.34 kB / 1.476 GB, free: 7.859 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.342, allocations: 0 / 1.476 GB, free: 7.859 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001956/1.342, allocations: 8.25 kB / 1.476 GB, free: 7.859 MB / 1.154 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.0006494/1.343, allocations: 0.6345 MB / 1.477 GB, free: 7.23 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001754/1.343, allocations: 16.73 kB / 1.477 GB, free: 7.227 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.343, allocations: 0 / 1.477 GB, free: 7.227 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/1.343, allocations: 14.34 kB / 1.477 GB, free: 7.219 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/1.343, allocations: 13.89 kB / 1.477 GB, free: 7.211 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/1.344, allocations: 158.3 kB / 1.477 GB, free: 7.051 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/1.344, allocations: 0.6776 MB / 1.477 GB, free: 6.352 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.882e-05/1.344, allocations: 5.094 kB / 1.477 GB, free: 6.348 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/1.344, allocations: 10.09 kB / 1.477 GB, free: 6.34 MB / 1.154 GB Notification: Performance of SimCode: time 3.01e-07/1.344, allocations: 0 / 1.477 GB, free: 6.34 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/1.362, allocations: 1.429 MB / 1.479 GB, free: 5.582 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/9.692, allocations: 2.344 kB / 1.479 GB, free: 5.582 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.619446661963593] Failed to read output from testmodel.py, exit status != 0: 9.828657686011866 9.845179879 8.503284815 Calling exit ...