Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_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.008296/0.008296, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.002251/0.002251, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8169/0.8169, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 62.95 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1687, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003219/0.1719, allocations: 1.637 MB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1892/0.3612, allocations: 149.7 MB / 0.807 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.3613, allocations: 0 / 0.807 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.3615, allocations: 23.8 kB / 0.807 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.3618, allocations: 51.64 kB / 0.807 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.3623, allocations: 175.4 kB / 0.8072 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.3626, allocations: 155.5 kB / 0.8074 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3627, allocations: 40.19 kB / 0.8074 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.3641, allocations: 185.2 kB / 0.8076 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3642, allocations: 59.75 kB / 0.8076 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.3643, allocations: 12 kB / 0.8076 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.3646, allocations: 159.7 kB / 0.8078 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3647, allocations: 31.91 kB / 0.8078 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.3648, allocations: 51.78 kB / 0.8079 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.3652, allocations: 195.3 kB / 0.8081 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3652, allocations: 0 / 0.8081 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3652, allocations: 0 / 0.8081 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3652, allocations: 0 / 0.8081 GB, free: 5.008 MB / 0.6387 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.0009525/0.3662, allocations: 466.7 kB / 0.8085 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3662, allocations: 8.031 kB / 0.8085 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.3663, allocations: 46.73 kB / 0.8086 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/0.3669, allocations: 60.58 kB / 0.8086 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.3672, allocations: 198.9 kB / 0.8088 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3672, allocations: 8 kB / 0.8088 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3673, allocations: 4 kB / 0.8088 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.3678, allocations: 192 kB / 0.809 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3678, allocations: 0 / 0.809 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3678, allocations: 8 kB / 0.809 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3678, allocations: 0 / 0.809 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.3684, allocations: 143.8 kB / 0.8091 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.3696, allocations: 0.8245 MB / 0.81 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.3701, allocations: 130.5 kB / 0.8101 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.3704, allocations: 88.78 kB / 0.8102 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3704, allocations: 0 / 0.8102 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3705, allocations: 30.56 kB / 0.8102 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.123e-06/0.3705, allocations: 3.938 kB / 0.8102 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.002026/0.3725, allocations: 463.4 kB / 0.8106 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3726, allocations: 55.34 kB / 0.8107 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3727, allocations: 140.6 kB / 0.8108 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3728, allocations: 25.7 kB / 0.8108 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.3728, allocations: 112.1 kB / 0.811 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.3729, allocations: 31.89 kB / 0.811 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-05/0.373, allocations: 37.62 kB / 0.811 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3731, allocations: 322.8 kB / 0.8113 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.3734, allocations: 71.94 kB / 0.8114 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.3737, allocations: 98.41 kB / 0.8115 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.3743, allocations: 184.2 kB / 0.8117 GB, free: 1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3743, allocations: 4 kB / 0.8117 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001082/0.3754, allocations: 274.2 kB / 0.8119 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3754, allocations: 7.938 kB / 0.8119 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3754, allocations: 0 / 0.8119 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.376, allocations: 88.89 kB / 0.812 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3763, allocations: 31.95 kB / 0.8121 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4091/0.7854, allocations: 1.652 MB / 0.8137 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.7857, allocations: 25.28 kB / 0.8137 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.7858, allocations: 7.234 kB / 0.8137 GB, free: 156.1 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.7859, allocations: 127.9 kB / 0.8138 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.786, allocations: 7.406 kB / 0.8138 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.7874, allocations: 308.9 kB / 0.8141 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7874, allocations: 4.656 kB / 0.8141 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7874, allocations: 0.7031 kB / 0.8141 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.7874, allocations: 5.469 kB / 0.8141 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.7877, allocations: 237 kB / 0.8144 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7877, allocations: 0 / 0.8144 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.7879, allocations: 30.88 kB / 0.8144 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006388/0.7885, allocations: 80.08 kB / 0.8145 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.7886, allocations: 5.203 kB / 0.8145 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.7908, allocations: 1.688 MB / 0.8161 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7908, allocations: 0 / 0.8161 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.7923, allocations: 384.7 kB / 0.8165 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.7923, allocations: 93.41 kB / 0.8166 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.7924, allocations: 1.469 kB / 0.8166 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.7927, allocations: 22.17 kB / 0.8166 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.7928, allocations: 14.2 kB / 0.8166 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.7928, allocations: 7.781 kB / 0.8166 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.267e-05/0.7929, allocations: 110.4 kB / 0.8167 GB, free: 154 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7929, allocations: 0 / 0.8167 GB, free: 154 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005156/0.7935, allocations: 45.69 kB / 0.8168 GB, free: 154 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.7951, allocations: 0.918 MB / 0.8177 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.7963, allocations: 311.4 kB / 0.818 GB, free: 153.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7964, allocations: 7.547 kB / 0.818 GB, free: 153.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006919/0.7971, allocations: 228.6 kB / 0.8182 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.7975, allocations: 31.34 kB / 0.8182 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.8025, allocations: 2.046 MB / 0.8202 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.8028, allocations: 0.7042 MB / 0.8209 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.803, allocations: 24.75 kB / 0.8209 GB, free: 151 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.8031, allocations: 36.3 kB / 0.821 GB, free: 151 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.8031, allocations: 0.5312 kB / 0.821 GB, free: 151 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.8375, allocations: 4.726 MB / 0.8256 GB, free: 150.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.21, allocations: 10.27 kB / 0.8256 GB, free: 150.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)