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.000727/0.000727, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00735/0.00735, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.526/1.526, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.657/1.657, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.000476/0.000476, allocations: 11 kB / 0.6744 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2301, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002139/0.2323, allocations: 1.636 MB / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6054/0.8377, allocations: 151.4 MB / 0.9375 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.8378, allocations: 0 / 0.9375 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.838, allocations: 20.36 kB / 0.9375 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.8382, allocations: 63.95 kB / 0.9376 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.8388, allocations: 229.5 kB / 0.9378 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.839, allocations: 244 kB / 0.938 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.8391, allocations: 60.58 kB / 0.9381 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.8409, allocations: 224 kB / 0.9383 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.841, allocations: 75.61 kB / 0.9384 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.841, allocations: 9.25 kB / 0.9384 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.8413, allocations: 173.7 kB / 0.9385 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.8414, allocations: 32.56 kB / 0.9386 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.8415, allocations: 99.19 kB / 0.9387 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.8417, allocations: 265.1 kB / 0.9389 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8417, allocations: 5.359 kB / 0.9389 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8417, allocations: 0 / 0.9389 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.8417, allocations: 0 / 0.9389 GB, free: 0.8633 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.0007814/0.8425, allocations: 490.7 kB / 0.9394 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.8426, allocations: 11.06 kB / 0.9394 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.8426, allocations: 47.52 kB / 0.9394 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.8434, allocations: 83.83 kB / 0.9395 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.8436, allocations: 224.4 kB / 0.9397 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.8437, allocations: 43.31 kB / 0.9398 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.8438, allocations: 25.39 kB / 0.9398 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.8442, allocations: 264.1 kB / 0.94 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8442, allocations: 0 / 0.94 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.8443, allocations: 6 kB / 0.94 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8443, allocations: 4.875 kB / 0.9401 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.8447, allocations: 182.3 kB / 0.9402 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.8462, allocations: 1.177 MB / 0.9414 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.8469, allocations: 212.4 kB / 0.9416 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.847, allocations: 72.19 kB / 0.9416 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.8471, allocations: 3.938 kB / 0.9417 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.8471, allocations: 38.28 kB / 0.9417 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.8471, allocations: 7.938 kB / 0.9417 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002584/0.8497, allocations: 0.6428 MB / 0.9423 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.8497, allocations: 57.61 kB / 0.9424 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.85, allocations: 201.1 kB / 0.9426 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.85, allocations: 32.92 kB / 0.9426 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.8501, allocations: 137.6 kB / 0.9427 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.8501, allocations: 36.44 kB / 0.9428 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.8502, allocations: 24.44 kB / 0.9428 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8503, allocations: 329.5 kB / 0.9431 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.8505, allocations: 74.69 kB / 0.9432 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.8507, allocations: 138 kB / 0.9433 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.8511, allocations: 210.8 kB / 0.9435 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8511, allocations: 0 / 0.9435 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001517/0.8526, allocations: 393.4 kB / 0.9439 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.8527, allocations: 5.875 kB / 0.9439 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.8527, allocations: 2.406 kB / 0.9439 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.8538, allocations: 167.9 kB / 0.9441 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.8541, allocations: 37.03 kB / 0.9441 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.8581, allocations: 3.031 MB / 0.947 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.8585, allocations: 38.38 kB / 0.9471 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.8585, allocations: 6.719 kB / 0.9471 GB, free: 11.25 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.0001413/0.8587, allocations: 140.5 kB / 0.9472 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.8587, allocations: 16.12 kB / 0.9472 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.8601, allocations: 389.7 kB / 0.9476 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.8602, allocations: 6.906 kB / 0.9476 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.8602, allocations: 0.7188 kB / 0.9476 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.8602, allocations: 2.297 kB / 0.9476 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.8606, allocations: 271 kB / 0.9479 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8606, allocations: 2.469 kB / 0.9479 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.8608, allocations: 29.2 kB / 0.9479 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.8618, allocations: 165 kB / 0.9481 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.8619, allocations: 4.594 kB / 0.9481 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/0.8656, allocations: 3.083 MB / 0.9511 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8656, allocations: 1.125 kB / 0.9511 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.867, allocations: 445.6 kB / 0.9515 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8672, allocations: 110 kB / 0.9516 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.8672, allocations: 5.906 kB / 0.9516 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.8675, allocations: 22.22 kB / 0.9516 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.8676, allocations: 20.02 kB / 0.9517 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.8677, allocations: 7.969 kB / 0.9517 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002607/0.8679, allocations: 151.2 kB / 0.9518 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8679, allocations: 0.5 kB / 0.9518 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006161/0.8686, allocations: 72.78 kB / 0.9519 GB, free: 7.812 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.001888/0.8705, allocations: 0.987 MB / 0.9528 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.8717, allocations: 458.8 kB / 0.9533 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8717, allocations: 0 / 0.9533 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.8725, allocations: 363.7 kB / 0.9536 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.873, allocations: 58.66 kB / 0.9537 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.878, allocations: 2.589 MB / 0.9562 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.8783, allocations: 0.7331 MB / 0.9569 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.8785, allocations: 37.19 kB / 0.957 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.8786, allocations: 57.7 kB / 0.957 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.8786, allocations: 0 / 0.957 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.8991, allocations: 6.654 MB / 0.9635 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.8993, allocations: 247.9 kB / 0.9638 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.824, allocations: 0 / 0.9638 GB, free: 2.973 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)