Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001757/0.001757, allocations: 109 kB / 20.48 MB, free: 1.473 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.002158/0.002158, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.541/1.541, allocations: 230.6 MB / 257.6 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.005/1.005, allocations: 150 MB / 464 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002059/0.002059, allocations: 63.09 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1921, allocations: 89.17 MB / 0.7291 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003496/0.1956, allocations: 1.941 MB / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6573/0.8529, allocations: 158.9 MB / 0.8861 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.8531, allocations: 11.94 kB / 0.8861 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.8533, allocations: 23.73 kB / 0.8862 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.8536, allocations: 83.34 kB / 0.8862 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.8547, allocations: 259.9 kB / 0.8865 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.8551, allocations: 263.2 kB / 0.8867 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.8553, allocations: 55.33 kB / 0.8868 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.857, allocations: 257.6 kB / 0.887 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.8572, allocations: 95.55 kB / 0.8871 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.8572, allocations: 16 kB / 0.8872 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.8576, allocations: 191.8 kB / 0.8873 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.8577, allocations: 47.77 kB / 0.8874 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.8579, allocations: 99.52 kB / 0.8875 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.8584, allocations: 294.9 kB / 0.8878 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8584, allocations: 0 / 0.8878 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8584, allocations: 0 / 0.8878 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.8584, allocations: 0 / 0.8878 GB, free: 4.984 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009922/0.8594, allocations: 473.1 kB / 0.8882 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.8595, allocations: 15.97 kB / 0.8882 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.978e-05/0.8595, allocations: 4.328 kB / 0.8882 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.8596, allocations: 46.55 kB / 0.8883 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.8607, allocations: 126.3 kB / 0.8884 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.8611, allocations: 171.1 kB / 0.8886 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.8612, allocations: 67.73 kB / 0.8886 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.8612, allocations: 12 kB / 0.8886 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.8618, allocations: 262.6 kB / 0.8889 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.8618, allocations: 0 / 0.8889 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.8619, allocations: 8 kB / 0.8889 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.8619, allocations: 4 kB / 0.8889 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.8624, allocations: 171.8 kB / 0.8891 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.8643, allocations: 1.141 MB / 0.8902 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/0.8651, allocations: 190.7 kB / 0.8904 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.8653, allocations: 60.83 kB / 0.8904 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.8653, allocations: 15.98 kB / 0.8904 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.8654, allocations: 34.5 kB / 0.8905 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.8654, allocations: 3.938 kB / 0.8905 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002661/0.868, allocations: 492.2 kB / 0.8909 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.8681, allocations: 51.41 kB / 0.891 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.8684, allocations: 215 kB / 0.8912 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.8684, allocations: 33.7 kB / 0.8912 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.8685, allocations: 140.2 kB / 0.8914 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.8686, allocations: 39.64 kB / 0.8914 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.8687, allocations: 49.64 kB / 0.8914 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.8689, allocations: 334.8 kB / 0.8918 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.8691, allocations: 63.95 kB / 0.8918 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.8694, allocations: 131.7 kB / 0.8919 GB, free: 424 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.8699, allocations: 202.6 kB / 0.8921 GB, free: 196 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.8699, allocations: 4 kB / 0.8921 GB, free: 192 kB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001546/0.8714, allocations: 374.8 kB / 0.8925 GB, free: 15.81 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8714, allocations: 8.219 kB / 0.8925 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.8714, allocations: 4 kB / 0.8925 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.8725, allocations: 161.5 kB / 0.8927 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.8728, allocations: 39.95 kB / 0.8927 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.877, allocations: 3.049 MB / 0.8957 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.8774, allocations: 31.89 kB / 0.8957 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.8774, allocations: 15.98 kB / 0.8957 GB, free: 12.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.8776, allocations: 133.7 kB / 0.8959 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.8777, allocations: 15.91 kB / 0.8959 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.8791, allocations: 383 kB / 0.8962 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.8791, allocations: 0 / 0.8962 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.8791, allocations: 0 / 0.8962 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8791, allocations: 4 kB / 0.8962 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.8794, allocations: 248.5 kB / 0.8965 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8794, allocations: 0 / 0.8965 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.8796, allocations: 23.98 kB / 0.8965 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008376/0.8804, allocations: 141.5 kB / 0.8966 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.8804, allocations: 4 kB / 0.8966 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.8845, allocations: 3.088 MB / 0.8997 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8845, allocations: 0 / 0.8997 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.8858, allocations: 440.7 kB / 0.9001 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.8859, allocations: 31.77 kB / 0.9001 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.8859, allocations: 12 kB / 0.9001 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.8862, allocations: 15.97 kB / 0.9001 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.8863, allocations: 19.91 kB / 0.9001 GB, free: 7.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.8863, allocations: 4 kB / 0.9002 GB, free: 7.406 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002091/0.8865, allocations: 163.2 kB / 0.9003 GB, free: 7.246 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8865, allocations: 0 / 0.9003 GB, free: 7.246 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004314/0.8869, allocations: 71.89 kB / 0.9004 GB, free: 7.176 MB / 0.67 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/0.8887, allocations: 0.981 MB / 0.9013 GB, free: 6.16 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.8898, allocations: 441.7 kB / 0.9018 GB, free: 5.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8898, allocations: 0 / 0.9018 GB, free: 5.703 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.8905, allocations: 357.1 kB / 0.9021 GB, free: 5.328 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.891, allocations: 66.75 kB / 0.9022 GB, free: 5.27 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.8964, allocations: 2.534 MB / 0.9046 GB, free: 2.602 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.8969, allocations: 0.7401 MB / 0.9054 GB, free: 1.832 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.8971, allocations: 37.88 kB / 0.9054 GB, free: 1.797 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.8972, allocations: 59.41 kB / 0.9054 GB, free: 1.738 MB / 0.67 GB Notification: Performance of SimCode: time 1.302e-06/0.8972, allocations: 0 / 0.9054 GB, free: 1.738 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03979/0.937, allocations: 7.554 MB / 0.9128 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.96, allocations: 7.625 kB / 0.9128 GB, free: 10.4 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.92373422597302] Failed to read output from testmodel.py, exit status != 0: 14.1444549059961 14.17383064 13.310169634 Calling exit ...