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.002256/0.002257, allocations: 106.4 kB / 16.4 MB, free: 6.457 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.002669/0.00267, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.26/3.26, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9394/0.9394, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 63.97 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1915, allocations: 76.17 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003476/0.195, allocations: 1.916 MB / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6712/0.8663, allocations: 155.4 MB / 0.7852 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.8666, allocations: 1.344 kB / 0.7852 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.8669, allocations: 29.11 kB / 0.7852 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.8673, allocations: 72.44 kB / 0.7853 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009743/0.8682, allocations: 262.1 kB / 0.7856 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.8686, allocations: 271.8 kB / 0.7858 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.8688, allocations: 67.81 kB / 0.7859 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.8702, allocations: 247.9 kB / 0.7861 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.8704, allocations: 93.41 kB / 0.7862 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.8704, allocations: 15.28 kB / 0.7862 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.8708, allocations: 185.7 kB / 0.7864 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.8709, allocations: 46.38 kB / 0.7864 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.871, allocations: 92.67 kB / 0.7865 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.8715, allocations: 287.8 kB / 0.7868 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8715, allocations: 0 / 0.7868 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8715, allocations: 0 / 0.7868 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8715, allocations: 1.344 kB / 0.7868 GB, free: 13.34 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.0009982/0.8725, allocations: 0.5233 MB / 0.7873 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.8726, allocations: 8.312 kB / 0.7873 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.8726, allocations: 50.91 kB / 0.7874 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008673/0.8735, allocations: 85.42 kB / 0.7875 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.8738, allocations: 235.6 kB / 0.7877 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.459e-05/0.8739, allocations: 40.91 kB / 0.7877 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.874, allocations: 13.75 kB / 0.7877 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.8746, allocations: 263.2 kB / 0.788 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8746, allocations: 1.125 kB / 0.788 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.8746, allocations: 4.938 kB / 0.788 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8746, allocations: 9.25 kB / 0.788 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.8751, allocations: 174 kB / 0.7882 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.8769, allocations: 1.176 MB / 0.7893 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.8777, allocations: 211.2 kB / 0.7895 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.8779, allocations: 69.78 kB / 0.7896 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.8779, allocations: 1.812 kB / 0.7896 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.8779, allocations: 38.39 kB / 0.7896 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/0.8779, allocations: 0 / 0.7896 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.00268/0.8806, allocations: 0.6317 MB / 0.7902 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.8807, allocations: 52.78 kB / 0.7903 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.8809, allocations: 217.6 kB / 0.7905 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.881, allocations: 30.2 kB / 0.7905 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.8811, allocations: 144.4 kB / 0.7907 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.8811, allocations: 36.23 kB / 0.7907 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.8812, allocations: 51.69 kB / 0.7907 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8814, allocations: 334.1 kB / 0.7911 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.8816, allocations: 68.89 kB / 0.7911 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.8819, allocations: 137.5 kB / 0.7913 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.8823, allocations: 193.6 kB / 0.7914 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8823, allocations: 1.375 kB / 0.7914 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001503/0.8838, allocations: 382.1 kB / 0.7918 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8839, allocations: 8.656 kB / 0.7918 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.8839, allocations: 1.281 kB / 0.7918 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.885, allocations: 159.8 kB / 0.792 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.8852, allocations: 45.61 kB / 0.792 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.8891, allocations: 3.242 MB / 0.7952 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.8895, allocations: 32.8 kB / 0.7952 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.8896, allocations: 9.469 kB / 0.7952 GB, free: 7.512 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.0001668/0.8897, allocations: 139.7 kB / 0.7954 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.8898, allocations: 20.67 kB / 0.7954 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.8911, allocations: 372 kB / 0.7957 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8912, allocations: 2.531 kB / 0.7957 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.8912, allocations: 0 / 0.7957 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.8912, allocations: 0 / 0.7957 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.8915, allocations: 284.6 kB / 0.796 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8915, allocations: 2.562 kB / 0.796 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.8917, allocations: 30.06 kB / 0.796 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008234/0.8925, allocations: 140.8 kB / 0.7962 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.8925, allocations: 0 / 0.7962 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003555/0.8961, allocations: 3.305 MB / 0.7994 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8961, allocations: 1.203 kB / 0.7994 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.8974, allocations: 430.6 kB / 0.7998 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.8975, allocations: 111.6 kB / 0.7999 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.8976, allocations: 3.688 kB / 0.7999 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.8979, allocations: 15.66 kB / 0.7999 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.898, allocations: 18.69 kB / 0.8 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.898, allocations: 8.75 kB / 0.8 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001795/0.8982, allocations: 164.6 kB / 0.8001 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8982, allocations: 0 / 0.8001 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000449/0.8986, allocations: 74.8 kB / 0.8002 GB, free: 3.887 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.00166/0.9003, allocations: 0.9775 MB / 0.8011 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.9014, allocations: 440.4 kB / 0.8016 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9014, allocations: 0 / 0.8016 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.9021, allocations: 365.9 kB / 0.8019 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.9026, allocations: 58.75 kB / 0.802 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.9076, allocations: 2.518 MB / 0.8044 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.908, allocations: 0.7319 MB / 0.8051 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.9082, allocations: 40.98 kB / 0.8052 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.9083, allocations: 59.02 kB / 0.8052 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.9083, allocations: 0 / 0.8052 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2892/1.198, allocations: 7.454 MB / 0.8125 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.48/18.68, allocations: 5.094 kB / 0.8125 GB, free: 13.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --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)