Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 119.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9342/0.9342, allocations: 129.2 MB / 432.5 MB, free: 13.19 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.425, allocations: 83.44 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002782/0.4278, allocations: 1.493 MB / 0.6816 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.5886, allocations: 132.5 MB / 0.811 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.5887, allocations: 4 kB / 0.811 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.5888, allocations: 3.938 kB / 0.811 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.5888, allocations: 15.86 kB / 0.811 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.5893, allocations: 63.72 kB / 0.8111 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.5894, allocations: 59.59 kB / 0.8111 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.5896, allocations: 15.94 kB / 0.8111 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.5896, allocations: 19.92 kB / 0.8111 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.5897, allocations: 23.91 kB / 0.8112 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.5897, allocations: 4 kB / 0.8112 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.5898, allocations: 24 kB / 0.8112 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.5898, allocations: 11.92 kB / 0.8112 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.5899, allocations: 19.94 kB / 0.8112 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.5901, allocations: 66.55 kB / 0.8113 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.5901, allocations: 0 / 0.8113 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5901, allocations: 0 / 0.8113 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.5901, allocations: 0 / 0.8113 GB, free: 7.195 MB / 0.6231 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.0006344/0.5907, allocations: 375.2 kB / 0.8116 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5908, allocations: 15.97 kB / 0.8117 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.5908, allocations: 30.75 kB / 0.8117 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.5908, allocations: 8.891 kB / 0.8117 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.591, allocations: 176.3 kB / 0.8119 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.591, allocations: 384 / 0.8119 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.591, allocations: 8.375 kB / 0.8119 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.5913, allocations: 70.22 kB / 0.8119 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5913, allocations: 3.938 kB / 0.8119 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5913, allocations: 0 / 0.8119 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5913, allocations: 4 kB / 0.812 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.5916, allocations: 71.86 kB / 0.812 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.5921, allocations: 284.8 kB / 0.8123 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.5923, allocations: 58.53 kB / 0.8123 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.5924, allocations: 32.92 kB / 0.8124 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.5926, allocations: 89.09 kB / 0.8125 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.5927, allocations: 38.5 kB / 0.8125 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5927, allocations: 3.938 kB / 0.8125 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005843/0.5933, allocations: 137.5 kB / 0.8126 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5933, allocations: 51.41 kB / 0.8127 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5934, allocations: 117.8 kB / 0.8128 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5934, allocations: 25.7 kB / 0.8128 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.5935, allocations: 92.12 kB / 0.8129 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.5935, allocations: 15.84 kB / 0.8129 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.5936, allocations: 13.72 kB / 0.8129 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5937, allocations: 322.8 kB / 0.8132 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.5938, allocations: 27.97 kB / 0.8133 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.594, allocations: 39.84 kB / 0.8133 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.5942, allocations: 68.78 kB / 0.8134 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5942, allocations: 0 / 0.8134 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003064/0.5945, allocations: 97.62 kB / 0.8135 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5945, allocations: 13.86 kB / 0.8135 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5945, allocations: 0 / 0.8135 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5945, allocations: 0 / 0.8135 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5947, allocations: 15.98 kB / 0.8135 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5947, allocations: 0 / 0.8135 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.5948, allocations: 15.98 kB / 0.8135 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5948, allocations: 0 / 0.8135 GB, free: 4.664 MB / 0.6231 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.964e-05/0.5949, allocations: 113.7 kB / 0.8136 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.5949, allocations: 12.28 kB / 0.8136 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.5952, allocations: 113.5 kB / 0.8137 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5952, allocations: 0 / 0.8137 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5953, allocations: 0 / 0.8137 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5953, allocations: 0 / 0.8137 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.5955, allocations: 173.6 kB / 0.8139 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5955, allocations: 0 / 0.8139 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.5955, allocations: 19.97 kB / 0.8139 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5956, allocations: 0 / 0.8139 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5956, allocations: 4 kB / 0.8139 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5956, allocations: 0 / 0.8139 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5956, allocations: 3.938 kB / 0.8139 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.5959, allocations: 203.3 kB / 0.8141 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.596, allocations: 89.09 kB / 0.8142 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.596, allocations: 0 / 0.8142 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5961, allocations: 7.984 kB / 0.8142 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.5962, allocations: 8 kB / 0.8142 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.5962, allocations: 3.984 kB / 0.8142 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.5962, allocations: 91.28 kB / 0.8143 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5962, allocations: 0 / 0.8143 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002417/0.5965, allocations: 23.89 kB / 0.8143 GB, free: 3.711 MB / 0.6231 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.0007604/0.5972, allocations: 0.7357 MB / 0.8151 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.5976, allocations: 67.92 kB / 0.8151 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5976, allocations: 0 / 0.8151 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.5977, allocations: 35.95 kB / 0.8152 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.598, allocations: 19.94 kB / 0.8152 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.6, allocations: 1.422 MB / 0.8166 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.6003, allocations: 0.6885 MB / 0.8172 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.6003, allocations: 4.25 kB / 0.8172 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.6004, allocations: 19.44 kB / 0.8173 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.6004, allocations: 0 / 0.8173 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.6243, allocations: 2.07 MB / 0.8193 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.599, allocations: 13 kB / 0.8193 GB, free: 14.61 MB / 0.6387 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.111142538953573] Failed to read output from testmodel.py, exit status != 0: 8.669439093209803 8.690279387 8.096124274 Calling exit ...