Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_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.001156/0.001156, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 199.3 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.3 kB / 0.6718 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2139, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003185/0.2172, allocations: 1.928 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6061/0.8233, allocations: 155.4 MB / 0.9372 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.8236, allocations: 1.531 kB / 0.9373 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.8238, allocations: 25.28 kB / 0.9373 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.8241, allocations: 71.91 kB / 0.9373 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.8249, allocations: 255.3 kB / 0.9376 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.8251, allocations: 256.6 kB / 0.9378 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.8253, allocations: 68.81 kB / 0.9379 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.8265, allocations: 240.1 kB / 0.9381 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.8266, allocations: 102.8 kB / 0.9382 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.8266, allocations: 17.06 kB / 0.9382 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.827, allocations: 177.3 kB / 0.9384 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.8271, allocations: 40.8 kB / 0.9384 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.8271, allocations: 87.06 kB / 0.9385 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.8275, allocations: 282.8 kB / 0.9388 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8275, allocations: 0 / 0.9388 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8276, allocations: 0 / 0.9388 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8276, allocations: 1.203 kB / 0.9388 GB, free: 2.328 MB / 0.7169 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.0009566/0.8285, allocations: 0.5081 MB / 0.9393 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.8286, allocations: 11.44 kB / 0.9393 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.8286, allocations: 48.84 kB / 0.9394 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007757/0.8294, allocations: 85.06 kB / 0.9394 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.8297, allocations: 229.1 kB / 0.9397 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.8298, allocations: 47.38 kB / 0.9397 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.8298, allocations: 18.94 kB / 0.9397 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.8303, allocations: 256.5 kB / 0.94 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8303, allocations: 3.938 kB / 0.94 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.8304, allocations: 10.19 kB / 0.94 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.8304, allocations: 4.125 kB / 0.94 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.8308, allocations: 162.6 kB / 0.9401 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.8323, allocations: 1.17 MB / 0.9413 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.833, allocations: 210.5 kB / 0.9415 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.8332, allocations: 70.95 kB / 0.9415 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.8332, allocations: 1.625 kB / 0.9415 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.8333, allocations: 33.66 kB / 0.9416 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.8333, allocations: 4 kB / 0.9416 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002537/0.8358, allocations: 0.6243 MB / 0.9422 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.8359, allocations: 52.84 kB / 0.9422 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.8361, allocations: 198.5 kB / 0.9424 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.8362, allocations: 30.86 kB / 0.9425 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.8362, allocations: 137.5 kB / 0.9426 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.8363, allocations: 43.12 kB / 0.9426 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.8364, allocations: 52.44 kB / 0.9427 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.8365, allocations: 329.9 kB / 0.943 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.8367, allocations: 68.55 kB / 0.9431 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.8369, allocations: 137.4 kB / 0.9432 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.8373, allocations: 200.5 kB / 0.9434 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.8373, allocations: 1.062 kB / 0.9434 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001323/0.8387, allocations: 369.3 kB / 0.9437 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8387, allocations: 6.875 kB / 0.9437 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8387, allocations: 1.312 kB / 0.9437 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.8397, allocations: 166.8 kB / 0.9439 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.8399, allocations: 43.89 kB / 0.9439 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/0.8437, allocations: 3.248 MB / 0.9471 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.8441, allocations: 35.22 kB / 0.9472 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.8441, allocations: 8.578 kB / 0.9472 GB, free: 12.54 MB / 0.7325 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.0001609/0.8443, allocations: 134 kB / 0.9473 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.8444, allocations: 16.12 kB / 0.9473 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.8456, allocations: 371.1 kB / 0.9477 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8456, allocations: 4.078 kB / 0.9477 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.8456, allocations: 0 / 0.9477 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.8456, allocations: 3.531 kB / 0.9477 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.8459, allocations: 268.6 kB / 0.9479 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.846, allocations: 3.156 kB / 0.9479 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.8461, allocations: 23.77 kB / 0.9479 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.8468, allocations: 143.6 kB / 0.9481 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.8469, allocations: 4.625 kB / 0.9481 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003571/0.8505, allocations: 3.297 MB / 0.9513 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8505, allocations: 0.6562 kB / 0.9513 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.8518, allocations: 436.8 kB / 0.9517 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.8519, allocations: 114.8 kB / 0.9518 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.8519, allocations: 5.562 kB / 0.9518 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.8522, allocations: 23.28 kB / 0.9519 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.8523, allocations: 21.92 kB / 0.9519 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.8523, allocations: 6.844 kB / 0.9519 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002003/0.8525, allocations: 147.8 kB / 0.952 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8525, allocations: 0 / 0.952 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005157/0.853, allocations: 76.25 kB / 0.9521 GB, free: 8.926 MB / 0.7325 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.001561/0.8546, allocations: 0.9759 MB / 0.9531 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.8557, allocations: 452.3 kB / 0.9535 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8557, allocations: 1.25 kB / 0.9535 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.8563, allocations: 355.9 kB / 0.9538 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.8567, allocations: 73.34 kB / 0.9539 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.8616, allocations: 2.481 MB / 0.9563 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.8619, allocations: 0.7356 MB / 0.957 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.8621, allocations: 37.34 kB / 0.9571 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.355e-05/0.8622, allocations: 55.67 kB / 0.9571 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of SimCode: time 6.02e-07/0.8622, allocations: 1.156 kB / 0.9571 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04084/0.9031, allocations: 7.221 MB / 0.9642 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.56, allocations: 12.59 kB / 0.9642 GB, free: 4.832 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)