Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_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.008239/0.008239, allocations: 104.1 kB / 15.73 MB, free: 6.469 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.002272/0.002272, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9948/0.9948, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.91 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4435, allocations: 80.91 MB / 0.6641 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002465/0.446, allocations: 1.887 MB / 0.666 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.6271, allocations: 155.4 MB / 0.8178 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.6273, allocations: 4 kB / 0.8178 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.6276, allocations: 27.67 kB / 0.8178 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.6279, allocations: 75.47 kB / 0.8179 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.6287, allocations: 255.1 kB / 0.8181 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.6291, allocations: 263.1 kB / 0.8184 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.6293, allocations: 64.55 kB / 0.8184 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.6306, allocations: 251.4 kB / 0.8187 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.6308, allocations: 91.61 kB / 0.8187 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.6308, allocations: 12 kB / 0.8188 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.6312, allocations: 183.7 kB / 0.8189 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.6312, allocations: 43.88 kB / 0.819 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.6313, allocations: 87.59 kB / 0.8191 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.6318, allocations: 279.1 kB / 0.8193 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6318, allocations: 0 / 0.8193 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6318, allocations: 0 / 0.8193 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6318, allocations: 0 / 0.8193 GB, free: 2.098 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009532/0.6328, allocations: 0.5107 MB / 0.8198 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6328, allocations: 16.03 kB / 0.8198 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.6329, allocations: 46.55 kB / 0.8199 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.6337, allocations: 83.72 kB / 0.82 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.634, allocations: 222.7 kB / 0.8202 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.6341, allocations: 45.95 kB / 0.8202 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6342, allocations: 20 kB / 0.8202 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.6347, allocations: 254.6 kB / 0.8205 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6347, allocations: 0 / 0.8205 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.6348, allocations: 11.98 kB / 0.8205 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6348, allocations: 4 kB / 0.8205 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.6352, allocations: 163.8 kB / 0.8206 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.6369, allocations: 1.188 MB / 0.8218 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.6377, allocations: 210.6 kB / 0.822 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.6378, allocations: 72.77 kB / 0.8221 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.6379, allocations: 3.984 kB / 0.8221 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.6379, allocations: 42.56 kB / 0.8221 GB, free: 15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.6379, allocations: 0 / 0.8221 GB, free: 15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002615/0.6405, allocations: 0.6219 MB / 0.8227 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.6406, allocations: 51.41 kB / 0.8228 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.6408, allocations: 199.2 kB / 0.823 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.6408, allocations: 25.7 kB / 0.823 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.6409, allocations: 147.5 kB / 0.8231 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.641, allocations: 43.44 kB / 0.8232 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.6411, allocations: 45.62 kB / 0.8232 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6412, allocations: 330.8 kB / 0.8235 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.6414, allocations: 67.94 kB / 0.8236 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.6417, allocations: 137.1 kB / 0.8237 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.6421, allocations: 190.8 kB / 0.8239 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6421, allocations: 4 kB / 0.8239 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001427/0.6435, allocations: 376.6 kB / 0.8243 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6436, allocations: 4 kB / 0.8243 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6436, allocations: 4 kB / 0.8243 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.6446, allocations: 161.8 kB / 0.8244 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.6449, allocations: 39.89 kB / 0.8245 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.6489, allocations: 3.238 MB / 0.8276 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.6493, allocations: 47.62 kB / 0.8277 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.6493, allocations: 12.06 kB / 0.8277 GB, free: 8.84 MB / 0.6544 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.0001357/0.6494, allocations: 139.7 kB / 0.8278 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.6495, allocations: 19.8 kB / 0.8278 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.6508, allocations: 360.3 kB / 0.8282 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6508, allocations: 4 kB / 0.8282 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.6508, allocations: 0 / 0.8282 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6508, allocations: 0 / 0.8282 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.6512, allocations: 281.4 kB / 0.8285 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6512, allocations: 3.938 kB / 0.8285 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.6513, allocations: 27.92 kB / 0.8285 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008176/0.6521, allocations: 137.6 kB / 0.8286 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.6522, allocations: 4 kB / 0.8286 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/0.6559, allocations: 3.297 MB / 0.8318 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6559, allocations: 4.062 kB / 0.8319 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6572, allocations: 434.5 kB / 0.8323 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.6573, allocations: 104.9 kB / 0.8324 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.6574, allocations: 7.938 kB / 0.8324 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.6577, allocations: 15.98 kB / 0.8324 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.6577, allocations: 19.97 kB / 0.8324 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.6578, allocations: 8 kB / 0.8324 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001671/0.6579, allocations: 144.2 kB / 0.8326 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6579, allocations: 0 / 0.8326 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003884/0.6583, allocations: 67.94 kB / 0.8326 GB, free: 3.395 MB / 0.6544 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.001565/0.6599, allocations: 0.9876 MB / 0.8336 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.661, allocations: 437.5 kB / 0.834 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.661, allocations: 0 / 0.834 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.6617, allocations: 361.2 kB / 0.8343 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.6621, allocations: 63.81 kB / 0.8344 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.6669, allocations: 2.505 MB / 0.8369 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.6672, allocations: 0.7323 MB / 0.8376 GB, free: 14.08 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.6674, allocations: 37.92 kB / 0.8376 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/0.6675, allocations: 59.41 kB / 0.8377 GB, free: 13.99 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.6675, allocations: 0 / 0.8377 GB, free: 13.99 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.6961, allocations: 7.437 MB / 0.8449 GB, free: 6.754 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.86, allocations: 15.77 kB / 0.8449 GB, free: 6.738 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)