Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.001327/0.001327, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001623/0.001623, allocations: 216.7 kB / 23.03 MB, free: 4.922 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.287/3.287, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.001992/0.001992, allocations: 63.05 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4589, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00308/0.462, allocations: 1.512 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.6221, allocations: 115.7 MB / 1.46 GB, free: 10.24 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.6222, allocations: 3.938 kB / 1.46 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.6222, allocations: 7.922 kB / 1.46 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.6223, allocations: 11.86 kB / 1.46 GB, free: 10.21 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.6227, allocations: 71.55 kB / 1.46 GB, free: 10.15 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.6228, allocations: 51.78 kB / 1.46 GB, free: 10.1 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.6229, allocations: 11.98 kB / 1.46 GB, free: 10.09 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.623, allocations: 27.92 kB / 1.46 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.623, allocations: 31.84 kB / 1.46 GB, free: 10.03 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.6231, allocations: 4 kB / 1.46 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.6232, allocations: 16 kB / 1.46 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.6232, allocations: 7.984 kB / 1.46 GB, free: 10 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.6232, allocations: 19.94 kB / 1.46 GB, free: 9.98 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.6234, allocations: 63.67 kB / 1.46 GB, free: 9.918 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6234, allocations: 4 kB / 1.46 GB, free: 9.914 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6234, allocations: 0 / 1.46 GB, free: 9.914 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.6234, allocations: 0 / 1.46 GB, free: 9.914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005567/0.624, allocations: 298.1 kB / 1.46 GB, free: 9.59 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.624, allocations: 8.031 kB / 1.46 GB, free: 9.582 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.624, allocations: 4.188 kB / 1.46 GB, free: 9.578 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.624, allocations: 34.75 kB / 1.46 GB, free: 9.535 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.6241, allocations: 8.891 kB / 1.46 GB, free: 9.527 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.6242, allocations: 110.5 kB / 1.46 GB, free: 9.395 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.6242, allocations: 4.375 kB / 1.461 GB, free: 9.391 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.6242, allocations: 4.375 kB / 1.461 GB, free: 9.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.6245, allocations: 77.97 kB / 1.461 GB, free: 9.305 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.6245, allocations: 3.938 kB / 1.461 GB, free: 9.301 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.6245, allocations: 4 kB / 1.461 GB, free: 9.297 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6245, allocations: 0 / 1.461 GB, free: 9.297 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.6248, allocations: 63.92 kB / 1.461 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.6252, allocations: 251.8 kB / 1.461 GB, free: 8.945 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.6254, allocations: 70.39 kB / 1.461 GB, free: 8.867 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.6255, allocations: 36.92 kB / 1.461 GB, free: 8.828 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.6257, allocations: 11.98 kB / 1.461 GB, free: 8.816 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6257, allocations: 34.56 kB / 1.461 GB, free: 8.773 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.6257, allocations: 0 / 1.461 GB, free: 8.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.000528/0.6262, allocations: 129.6 kB / 1.461 GB, free: 8.641 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.6263, allocations: 51.41 kB / 1.461 GB, free: 8.578 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.6264, allocations: 117.8 kB / 1.461 GB, free: 8.453 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.6264, allocations: 29.64 kB / 1.461 GB, free: 8.418 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.6265, allocations: 100.1 kB / 1.461 GB, free: 8.316 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.6265, allocations: 7.891 kB / 1.461 GB, free: 8.309 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.6265, allocations: 13.72 kB / 1.461 GB, free: 8.289 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6267, allocations: 326.8 kB / 1.462 GB, free: 7.961 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.6268, allocations: 31.97 kB / 1.462 GB, free: 7.93 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.6269, allocations: 31.95 kB / 1.462 GB, free: 7.898 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.6272, allocations: 64.8 kB / 1.462 GB, free: 7.832 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6272, allocations: 4 kB / 1.462 GB, free: 7.828 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003085/0.6275, allocations: 105.6 kB / 1.462 GB, free: 7.719 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6275, allocations: 4 kB / 1.462 GB, free: 7.715 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.6275, allocations: 0 / 1.462 GB, free: 7.715 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6275, allocations: 4 kB / 1.462 GB, free: 7.711 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.6276, allocations: 15.92 kB / 1.462 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.6276, allocations: 0 / 1.462 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.6277, allocations: 15.98 kB / 1.462 GB, free: 7.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.6277, allocations: 0 / 1.462 GB, free: 7.68 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 8.512e-05/0.6278, allocations: 121.8 kB / 1.462 GB, free: 7.551 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.6278, allocations: 7.953 kB / 1.462 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.6282, allocations: 105.6 kB / 1.462 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6282, allocations: 0 / 1.462 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6282, allocations: 4 kB / 1.462 GB, free: 7.422 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6282, allocations: 0 / 1.462 GB, free: 7.422 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.6284, allocations: 140.7 kB / 1.462 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6284, allocations: 0 / 1.462 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.6285, allocations: 23.91 kB / 1.462 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6285, allocations: 3.938 kB / 1.462 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6285, allocations: 0 / 1.462 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6285, allocations: 4 kB / 1.462 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6285, allocations: 0 / 1.462 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.6288, allocations: 191.8 kB / 1.463 GB, free: 7.008 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.6288, allocations: 15.89 kB / 1.463 GB, free: 6.992 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.6289, allocations: 3.984 kB / 1.463 GB, free: 6.988 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.629, allocations: 11.98 kB / 1.463 GB, free: 6.977 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.629, allocations: 4.031 kB / 1.463 GB, free: 6.973 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.629, allocations: 0 / 1.463 GB, free: 6.973 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.6291, allocations: 95.27 kB / 1.463 GB, free: 6.879 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6291, allocations: 4 kB / 1.463 GB, free: 6.875 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002333/0.6293, allocations: 16 kB / 1.463 GB, free: 6.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.0007192/0.63, allocations: 0.7435 MB / 1.463 GB, free: 6.09 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.6304, allocations: 71.86 kB / 1.464 GB, free: 6.02 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6304, allocations: 4 kB / 1.464 GB, free: 6.016 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.6305, allocations: 35.91 kB / 1.464 GB, free: 5.98 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.6309, allocations: 7.984 kB / 1.464 GB, free: 5.973 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.6327, allocations: 1.422 MB / 1.465 GB, free: 4.473 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.644e-05/0.6328, allocations: 71.33 kB / 1.465 GB, free: 4.383 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.6328, allocations: 4 kB / 1.465 GB, free: 4.379 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.6329, allocations: 15.44 kB / 1.465 GB, free: 4.363 MB / 1.154 GB Notification: Performance of SimCode: time 2.81e-07/0.6329, allocations: 0 / 1.465 GB, free: 4.363 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.6584, allocations: 2.328 MB / 1.467 GB, free: 2.203 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.89, allocations: 12.8 kB / 1.467 GB, free: 2.195 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.96906857402064] Failed to read output from testmodel.py, exit status != 0: 12.055143489968032 12.071897087 11.445300995 Calling exit ...