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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 108.6 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 189.2 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7574/0.7574, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63 kB / 0.5679 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 77.93 MB / 0.644 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00333/0.1511, allocations: 1.906 MB / 0.6459 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5508/0.7019, allocations: 155.4 MB / 0.7977 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.7022, allocations: 9.219 kB / 0.7977 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.7025, allocations: 32.67 kB / 0.7977 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.7029, allocations: 76.92 kB / 0.7978 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.7037, allocations: 255.9 kB / 0.798 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.704, allocations: 264.1 kB / 0.7983 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.7041, allocations: 64.58 kB / 0.7984 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.7055, allocations: 251.4 kB / 0.7986 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.7056, allocations: 95.73 kB / 0.7987 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.7057, allocations: 13.38 kB / 0.7987 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.706, allocations: 183.7 kB / 0.7989 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.7061, allocations: 46.38 kB / 0.7989 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.7063, allocations: 96.02 kB / 0.799 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.7068, allocations: 286.8 kB / 0.7993 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.7068, allocations: 0 / 0.7993 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7068, allocations: 0 / 0.7993 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.7068, allocations: 0 / 0.7993 GB, free: 12.17 MB / 0.5919 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.001028/0.7078, allocations: 0.5248 MB / 0.7998 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.7079, allocations: 16.75 kB / 0.7998 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.708, allocations: 48.53 kB / 0.7999 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/0.7088, allocations: 90.16 kB / 0.7999 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.7091, allocations: 235.3 kB / 0.8002 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.7092, allocations: 39.88 kB / 0.8002 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.7093, allocations: 16.88 kB / 0.8002 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.7098, allocations: 262.9 kB / 0.8005 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7098, allocations: 0 / 0.8005 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.7099, allocations: 5.125 kB / 0.8005 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.7099, allocations: 10.81 kB / 0.8005 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.7103, allocations: 167.6 kB / 0.8006 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.712, allocations: 1.189 MB / 0.8018 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/0.7127, allocations: 213.9 kB / 0.802 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.7129, allocations: 73.84 kB / 0.8021 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.713, allocations: 2.5 kB / 0.8021 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.713, allocations: 34.56 kB / 0.8021 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.713, allocations: 0 / 0.8021 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002656/0.7157, allocations: 0.6309 MB / 0.8027 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.7157, allocations: 52.56 kB / 0.8028 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.716, allocations: 214.5 kB / 0.803 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.716, allocations: 31.8 kB / 0.803 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.7161, allocations: 147.2 kB / 0.8032 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.7162, allocations: 41.22 kB / 0.8032 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.7163, allocations: 48.98 kB / 0.8032 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7164, allocations: 329.8 kB / 0.8036 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.7166, allocations: 69.03 kB / 0.8036 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.7169, allocations: 137.6 kB / 0.8038 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.7173, allocations: 197.2 kB / 0.8039 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7173, allocations: 6.047 kB / 0.8039 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001442/0.7188, allocations: 377 kB / 0.8043 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.7188, allocations: 5.5 kB / 0.8043 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7188, allocations: 2.656 kB / 0.8043 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.7199, allocations: 163.2 kB / 0.8045 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.7202, allocations: 35.45 kB / 0.8045 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.7243, allocations: 3.257 MB / 0.8077 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.7246, allocations: 28.48 kB / 0.8077 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.7247, allocations: 15.77 kB / 0.8077 GB, free: 6.305 MB / 0.5919 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.0001551/0.7248, allocations: 135.9 kB / 0.8079 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.7249, allocations: 21.83 kB / 0.8079 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.7262, allocations: 371.1 kB / 0.8082 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.7262, allocations: 0 / 0.8082 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.7262, allocations: 2.344 kB / 0.8082 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7262, allocations: 192 / 0.8082 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.7265, allocations: 280.9 kB / 0.8085 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7265, allocations: 0 / 0.8085 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.7267, allocations: 27.8 kB / 0.8085 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008181/0.7275, allocations: 142.5 kB / 0.8087 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7275, allocations: 5.219 kB / 0.8087 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/0.731, allocations: 3.301 MB / 0.8119 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.7311, allocations: 4.062 kB / 0.8119 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.7323, allocations: 427.9 kB / 0.8123 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.7324, allocations: 118.7 kB / 0.8124 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.7325, allocations: 0 / 0.8124 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.7328, allocations: 19.98 kB / 0.8124 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.7328, allocations: 18 kB / 0.8125 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.7329, allocations: 4.906 kB / 0.8125 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000181/0.733, allocations: 166.4 kB / 0.8126 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7331, allocations: 0 / 0.8126 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004181/0.7335, allocations: 71.62 kB / 0.8127 GB, free: 2.68 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 (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.001611/0.7351, allocations: 0.9831 MB / 0.8136 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.7362, allocations: 450.8 kB / 0.8141 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7362, allocations: 0 / 0.8141 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006594/0.7368, allocations: 359 kB / 0.8144 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.7373, allocations: 66.3 kB / 0.8145 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.7421, allocations: 2.523 MB / 0.8169 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.7424, allocations: 0.7337 MB / 0.8177 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.7426, allocations: 41.17 kB / 0.8177 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.7427, allocations: 52.31 kB / 0.8178 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.7427, allocations: 0 / 0.8178 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.7794, allocations: 7.271 MB / 0.8249 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.37, allocations: 8.766 kB / 0.8249 GB, free: 11.19 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)