Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.4 MB / 303.3 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009969/0.000997, allocations: 176.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.0008441, allocations: 91.84 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 11.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2434, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001657/0.2452, allocations: 1.195 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.2455, allocations: 119.7 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.2456, allocations: 4 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.2456, allocations: 7.938 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.2457, allocations: 7.922 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.2461, allocations: 54.42 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.2462, allocations: 47.91 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2463, allocations: 15.98 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.2464, allocations: 19.91 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.2464, allocations: 19.92 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.2465, allocations: 0 / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.2465, allocations: 8 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.2465, allocations: 15.92 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.2466, allocations: 25.7 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.331e-05/0.2466, allocations: 44.14 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2467, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2467, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.2467, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005105/0.2472, allocations: 363.2 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2473, allocations: 19.95 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.2473, allocations: 42.48 kB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.2474, allocations: 7.906 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2475, allocations: 167 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.2476, allocations: 33.7 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.2476, allocations: 4 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.2478, allocations: 81.66 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2479, allocations: 0 / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2479, allocations: 7.984 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2479, allocations: 0 / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.2481, allocations: 59.89 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.2487, allocations: 328.7 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2488, allocations: 54.56 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.2489, allocations: 36.86 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.249, allocations: 0 / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.249, allocations: 46.5 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.249, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003861/0.2494, allocations: 113.6 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.2494, allocations: 55.41 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.2495, allocations: 105.8 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2495, allocations: 25.7 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.2496, allocations: 100 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.2496, allocations: 11.8 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.2496, allocations: 4 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.2497, allocations: 314.8 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2498, allocations: 31.97 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.2499, allocations: 37.64 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.235e-05/0.25, allocations: 39.97 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.25, allocations: 0 / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/0.2502, allocations: 85.66 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2502, allocations: 4 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2503, allocations: 8.156 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2503, allocations: 4 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2504, allocations: 23.88 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.2505, allocations: 0 / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.2506, allocations: 8 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.2506, allocations: 3.984 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.2507, allocations: 115.4 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.2507, allocations: 7.906 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.2507, allocations: 11.91 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2507, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2508, allocations: 3.953 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2508, allocations: 3.938 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2509, allocations: 177.6 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2509, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.251, allocations: 11.98 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.251, allocations: 4 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.251, allocations: 4 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.251, allocations: 0 / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.251, allocations: 3.938 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.2513, allocations: 195.3 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.2513, allocations: 77.11 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2513, allocations: 7.984 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2514, allocations: 16.27 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.2515, allocations: 4 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2515, allocations: 0 / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.2515, allocations: 91.27 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2515, allocations: 0 / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001989/0.2518, allocations: 15.95 kB / 0.984 GB, free: 22.75 MB / 0.6198 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004602/0.2522, allocations: 0.7268 MB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2525, allocations: 59.95 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2525, allocations: 0 / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.833e-05/0.2526, allocations: 35.98 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2529, allocations: 4.688 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.2538, allocations: 484.1 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.254, allocations: 0.6887 MB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.2541, allocations: 4 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.2541, allocations: 15.44 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.2541, allocations: 0 / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.2677, allocations: 1.513 MB / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.268, allocations: 208.2 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.871, allocations: 4 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)