Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001342/0.001342, allocations: 116.8 kB / 17.17 MB, free: 6 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.001643/0.001643, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002809/0.002809, allocations: 285.5 kB / 309.8 MB, free: 3.465 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.092/1.092, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003023/0.003023, allocations: 99.86 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.566, allocations: 95.33 MB / 0.8278 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002389/0.5684, allocations: 1.539 MB / 0.8293 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.5687, allocations: 129.1 kB / 0.8294 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.5688, allocations: 2.656 kB / 0.8294 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.5688, allocations: 5.156 kB / 0.8294 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.5689, allocations: 8.531 kB / 0.8294 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.5692, allocations: 69.06 kB / 0.8295 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.5693, allocations: 65.98 kB / 0.8295 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.5694, allocations: 16.53 kB / 0.8295 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.5695, allocations: 27.34 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.5696, allocations: 18.94 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.5696, allocations: 3.938 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.5696, allocations: 6.75 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.5696, allocations: 14.28 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.5697, allocations: 27.98 kB / 0.8296 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.5698, allocations: 56.56 kB / 0.8297 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5698, allocations: 4 kB / 0.8297 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5698, allocations: 0 / 0.8297 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5698, allocations: 0 / 0.8297 GB, free: 1.742 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005268/0.5703, allocations: 374 kB / 0.8301 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5704, allocations: 11.09 kB / 0.8301 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.5704, allocations: 192 / 0.8301 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.5704, allocations: 38.83 kB / 0.8301 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.5705, allocations: 10.36 kB / 0.8301 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.5706, allocations: 172.6 kB / 0.8303 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.5706, allocations: 32.81 kB / 0.8303 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.5707, allocations: 384 / 0.8303 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.5709, allocations: 79.73 kB / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5709, allocations: 0 / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.5709, allocations: 0.7969 kB / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5709, allocations: 0 / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.5711, allocations: 54.67 kB / 0.8304 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.5717, allocations: 317.4 kB / 0.8307 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.5718, allocations: 46.2 kB / 0.8308 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.5719, allocations: 33.78 kB / 0.8308 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.5719, allocations: 0 / 0.8308 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.572, allocations: 33.97 kB / 0.8308 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.572, allocations: 0 / 0.8308 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003783/0.5723, allocations: 101.7 kB / 0.8309 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.5724, allocations: 59.34 kB / 0.831 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.5724, allocations: 107.8 kB / 0.8311 GB, free: 432 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5725, allocations: 29.7 kB / 0.8311 GB, free: 396 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.5725, allocations: 89.09 kB / 0.8312 GB, free: 308 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.5725, allocations: 18.62 kB / 0.8312 GB, free: 292 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.5725, allocations: 18.34 kB / 0.8313 GB, free: 272 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.5726, allocations: 320.4 kB / 0.8316 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.5727, allocations: 22.84 kB / 0.8316 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-05/0.5728, allocations: 32.81 kB / 0.8316 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.573, allocations: 64.84 kB / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.573, allocations: 0 / 0.8317 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002396/0.5733, allocations: 91.28 kB / 0.8318 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5733, allocations: 5.531 kB / 0.8318 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5733, allocations: 1.469 kB / 0.8318 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5733, allocations: 3.406 kB / 0.8318 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5734, allocations: 11.23 kB / 0.8318 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5734, allocations: 0.8906 kB / 0.8318 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.5735, allocations: 11.19 kB / 0.8318 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.5735, allocations: 0 / 0.8318 GB, free: 15.83 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.583e-05/0.5736, allocations: 117.1 kB / 0.8319 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.5736, allocations: 12.61 kB / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.5736, allocations: 4.422 kB / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5736, allocations: 2.953 kB / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5736, allocations: 0 / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5737, allocations: 0.7969 kB / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.5738, allocations: 182.6 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5739, allocations: 0.6562 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.5739, allocations: 11.33 kB / 0.8321 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5739, allocations: 3.938 kB / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5739, allocations: 4.609 kB / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5739, allocations: 2.812 kB / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5739, allocations: 0 / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.5742, allocations: 177.1 kB / 0.8323 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.5743, allocations: 85.78 kB / 0.8324 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.5743, allocations: 0.6875 kB / 0.8324 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.5744, allocations: 17.23 kB / 0.8324 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.5744, allocations: 7.766 kB / 0.8324 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.5744, allocations: 3.969 kB / 0.8324 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.5745, allocations: 87.59 kB / 0.8325 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5745, allocations: 0 / 0.8325 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002227/0.5747, allocations: 12.66 kB / 0.8325 GB, free: 15.14 MB / 0.5919 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.0005685/0.5753, allocations: 0.7081 MB / 0.8332 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.5755, allocations: 49.02 kB / 0.8332 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5755, allocations: 0 / 0.8332 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.5756, allocations: 29.94 kB / 0.8333 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.5759, allocations: 19.41 kB / 0.8333 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5775, allocations: 1.32 MB / 0.8346 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5778, allocations: 0.6855 MB / 0.8352 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.5779, allocations: 3.188 kB / 0.8352 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.5779, allocations: 15.42 kB / 0.8353 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5779, allocations: 0 / 0.8353 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.5942, allocations: 1.851 MB / 0.8371 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.87, allocations: 7.516 kB / 0.8371 GB, free: 12.11 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.037989221978933] Failed to read output from testmodel.py, exit status != 0: 8.996713503962383 9.028158103 8.452460127 Calling exit ...