Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.0009578/0.0009578, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001174/0.001174, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.014/1.014, allocations: 143.4 MB / 434.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003563, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.185, allocations: 83.42 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002244/0.1873, allocations: 1.354 MB / 0.5989 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4998/0.6871, allocations: 136 MB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.6872, allocations: 1.25 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.6874, allocations: 18.75 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.6877, allocations: 42.39 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.6882, allocations: 151.3 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.6884, allocations: 144.1 kB / 0.732 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.6886, allocations: 17.7 kB / 0.732 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.6889, allocations: 135.4 kB / 0.7321 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.6891, allocations: 52.19 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.6891, allocations: 4.688 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.6895, allocations: 160.7 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.6896, allocations: 16.11 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.6896, allocations: 42.16 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.6899, allocations: 141.3 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6899, allocations: 0 / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6899, allocations: 1.781 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6899, allocations: 1.219 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007946/0.6907, allocations: 463.5 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.6908, allocations: 8.125 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.6908, allocations: 39.95 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.6914, allocations: 50.61 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.6916, allocations: 197.2 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.6917, allocations: 12.09 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.6917, allocations: 9.312 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.6921, allocations: 198.1 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.6922, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.6922, allocations: 3.781 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.6922, allocations: 2.375 kB / 0.7335 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.6927, allocations: 167.3 kB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.6938, allocations: 0.8315 MB / 0.7344 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.6942, allocations: 147.1 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.6944, allocations: 87.56 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.6945, allocations: 4.75 kB / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.6945, allocations: 35.78 kB / 0.7347 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.6945, allocations: 1.094 kB / 0.7347 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001853/0.6964, allocations: 495.2 kB / 0.7352 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6964, allocations: 52.53 kB / 0.7352 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.6966, allocations: 142.2 kB / 0.7353 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6966, allocations: 30.7 kB / 0.7354 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.6967, allocations: 108 kB / 0.7355 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.6967, allocations: 30.53 kB / 0.7355 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.6967, allocations: 0 / 0.7355 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.6968, allocations: 321.3 kB / 0.7358 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.6971, allocations: 82.53 kB / 0.7359 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.6974, allocations: 118.8 kB / 0.736 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.6976, allocations: 89.75 kB / 0.7361 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6976, allocations: 1.375 kB / 0.7361 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009898/0.6986, allocations: 301.1 kB / 0.7364 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6986, allocations: 5.75 kB / 0.7364 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6987, allocations: 1.438 kB / 0.7364 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.6992, allocations: 88.8 kB / 0.7365 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.6994, allocations: 36.95 kB / 0.7365 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.7013, allocations: 1.554 MB / 0.738 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.7015, allocations: 25.56 kB / 0.738 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.7016, allocations: 9.062 kB / 0.7381 GB, free: 8.703 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.7017, allocations: 125.5 kB / 0.7382 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.7017, allocations: 11.19 kB / 0.7382 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009776/0.7027, allocations: 332.4 kB / 0.7385 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.7027, allocations: 10.42 kB / 0.7385 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.7027, allocations: 0.5625 kB / 0.7385 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7028, allocations: 1.453 kB / 0.7385 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.703, allocations: 240 kB / 0.7387 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.703, allocations: 1.219 kB / 0.7387 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.7033, allocations: 36.19 kB / 0.7388 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.7037, allocations: 85.48 kB / 0.7389 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.7038, allocations: 3.844 kB / 0.7389 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.7054, allocations: 1.574 MB / 0.7404 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7054, allocations: 1.5 kB / 0.7404 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.7064, allocations: 398.5 kB / 0.7408 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.7065, allocations: 89.19 kB / 0.7409 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.7066, allocations: 8.969 kB / 0.7409 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.7068, allocations: 27.81 kB / 0.7409 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.7068, allocations: 15.55 kB / 0.7409 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.7069, allocations: 4.625 kB / 0.7409 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.707, allocations: 108.3 kB / 0.741 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.543e-06/0.707, allocations: 0 / 0.741 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003748/0.7073, allocations: 49.16 kB / 0.7411 GB, free: 6.348 MB / 0.5606 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.7087, allocations: 0.9389 MB / 0.742 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008787/0.7096, allocations: 327.3 kB / 0.7423 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7096, allocations: 0 / 0.7423 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.7101, allocations: 245.3 kB / 0.7425 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.7104, allocations: 27.06 kB / 0.7426 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.7129, allocations: 1.02 MB / 0.7436 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.7133, allocations: 0.7081 MB / 0.7442 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000199/0.7135, allocations: 20.97 kB / 0.7443 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.7136, allocations: 37.72 kB / 0.7443 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.7136, allocations: 0 / 0.7443 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.7302, allocations: 4.255 MB / 0.7485 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.7304, allocations: 232 kB / 0.7487 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.534, allocations: 0 / 0.7487 GB, free: 0.8125 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: