Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_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.001142/0.001142, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00153/0.001531, allocations: 177.3 kB / 15.94 MB, free: 228 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.58/1.58, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.433/1.433, allocations: 135.2 MB / 426.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 8 kB / 0.5069 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 82.31 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002868/0.2216, allocations: 1.323 MB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.628/0.8496, allocations: 126.5 MB / 0.7121 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.8498, allocations: 4.969 kB / 0.7121 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.85, allocations: 18.98 kB / 0.7121 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.8504, allocations: 48.12 kB / 0.7121 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.8511, allocations: 159 kB / 0.7123 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.8514, allocations: 88.17 kB / 0.7124 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.8516, allocations: 27.3 kB / 0.7124 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003884/0.852, allocations: 104.9 kB / 0.7125 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.8522, allocations: 51.84 kB / 0.7125 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.8522, allocations: 5.25 kB / 0.7125 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.8528, allocations: 173 kB / 0.7127 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.8528, allocations: 17.28 kB / 0.7127 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.8529, allocations: 45.55 kB / 0.7128 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.8533, allocations: 137.4 kB / 0.7129 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.8533, allocations: 1.5 kB / 0.7129 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8533, allocations: 0 / 0.7129 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8533, allocations: 1.375 kB / 0.7129 GB, free: 1.059 MB / 0.5294 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.001232/0.8546, allocations: 449.1 kB / 0.7133 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.8546, allocations: 10.67 kB / 0.7133 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.8547, allocations: 43.73 kB / 0.7134 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.8557, allocations: 56.23 kB / 0.7134 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.8561, allocations: 198.7 kB / 0.7136 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.8561, allocations: 11.12 kB / 0.7136 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.8562, allocations: 10.88 kB / 0.7136 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.857, allocations: 188.8 kB / 0.7138 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.857, allocations: 0.9062 kB / 0.7138 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.857, allocations: 5.031 kB / 0.7138 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.8571, allocations: 1.969 kB / 0.7138 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008912/0.858, allocations: 167.7 kB / 0.714 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.8598, allocations: 0.8226 MB / 0.7148 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.8605, allocations: 145.3 kB / 0.7149 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.8605, allocations: 1.406 kB / 0.7149 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.8606, allocations: 39.2 kB / 0.715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/0.8606, allocations: 5.031 kB / 0.715 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.003216/0.8638, allocations: 498.8 kB / 0.7154 GB, free: 15.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.8639, allocations: 52.41 kB / 0.7155 GB, free: 15.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.8641, allocations: 142 kB / 0.7156 GB, free: 15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.8642, allocations: 26.92 kB / 0.7157 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.8643, allocations: 107.9 kB / 0.7158 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.8644, allocations: 30.69 kB / 0.7158 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.8644, allocations: 4 kB / 0.7158 GB, free: 14.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8646, allocations: 320.2 kB / 0.7161 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.865, allocations: 79.22 kB / 0.7162 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.8655, allocations: 120 kB / 0.7163 GB, free: 14.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.866, allocations: 94.5 kB / 0.7164 GB, free: 14.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.866, allocations: 0 / 0.7164 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001807/0.8678, allocations: 302.4 kB / 0.7167 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.8679, allocations: 5.844 kB / 0.7167 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8679, allocations: 5.031 kB / 0.7167 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009254/0.8688, allocations: 83.97 kB / 0.7168 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.8692, allocations: 40.41 kB / 0.7168 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.8727, allocations: 1.568 MB / 0.7183 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.8732, allocations: 33.28 kB / 0.7184 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.8733, allocations: 5.469 kB / 0.7184 GB, free: 12.85 MB / 0.545 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.0002172/0.8735, allocations: 124.4 kB / 0.7185 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.8736, allocations: 9.578 kB / 0.7185 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.8755, allocations: 337 kB / 0.7188 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8755, allocations: 7.141 kB / 0.7188 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.8755, allocations: 0 / 0.7188 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8756, allocations: 1.172 kB / 0.7188 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.8761, allocations: 238.8 kB / 0.7191 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8761, allocations: 1.594 kB / 0.7191 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.8764, allocations: 34.55 kB / 0.7191 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008142/0.8773, allocations: 91.3 kB / 0.7192 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.8773, allocations: 8.719 kB / 0.7192 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/0.8805, allocations: 1.573 MB / 0.7207 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8806, allocations: 0.6094 kB / 0.7207 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.8821, allocations: 394.4 kB / 0.7211 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.8822, allocations: 93.02 kB / 0.7212 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.8822, allocations: 8.125 kB / 0.7212 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.8825, allocations: 19.84 kB / 0.7212 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.8826, allocations: 19.05 kB / 0.7212 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.8826, allocations: 5.266 kB / 0.7212 GB, free: 10.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.774e-05/0.8827, allocations: 106.3 kB / 0.7213 GB, free: 10.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8827, allocations: 0 / 0.7213 GB, free: 10.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000408/0.8831, allocations: 45.45 kB / 0.7214 GB, free: 10.5 MB / 0.545 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.001599/0.8847, allocations: 0.9382 MB / 0.7223 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009997/0.8857, allocations: 330.1 kB / 0.7226 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.8857, allocations: 1.156 kB / 0.7226 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.8863, allocations: 249.6 kB / 0.7228 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.8866, allocations: 34.05 kB / 0.7229 GB, free: 9.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.8898, allocations: 1.611 MB / 0.7245 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.8902, allocations: 0.7167 MB / 0.7252 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.8904, allocations: 27.89 kB / 0.7252 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8905, allocations: 36.66 kB / 0.7252 GB, free: 7.516 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.8905, allocations: 0 / 0.7252 GB, free: 7.516 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.941/2.831, allocations: 4.198 MB / 0.7293 GB, free: 7.215 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003645/2.832, allocations: 213.9 kB / 0.7295 GB, free: 6.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/5.858, allocations: 3.938 kB / 0.7295 GB, free: 6.973 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: