Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001154/0.001154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001363/0.001363, allocations: 186.5 kB / 16.25 MB, free: 6.617 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.327/1.327, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.742/1.742, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001478/0.001478, allocations: 70.55 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002992/0.2319, allocations: 1.569 MB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003417/0.2323, allocations: 120.7 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.2324, allocations: 4 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.2324, allocations: 0 / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.2325, allocations: 11.92 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.2329, allocations: 55.92 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.233, allocations: 59.89 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2331, allocations: 23.92 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.883e-05/0.2332, allocations: 19.92 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.2333, allocations: 27.86 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2333, allocations: 8 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.2333, allocations: 4 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.2334, allocations: 15.97 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.2334, allocations: 27.86 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2335, allocations: 56.06 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2335, allocations: 0 / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2335, allocations: 0 / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2336, allocations: 0 / 0.7849 GB, free: 11.81 MB / 0.6075 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.0005702/0.2341, allocations: 375.3 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2342, allocations: 8.031 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.2342, allocations: 42.73 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.2343, allocations: 4.938 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2344, allocations: 168.2 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.2345, allocations: 30.27 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2345, allocations: 8.312 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2348, allocations: 81.91 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2348, allocations: 4 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2348, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2348, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.235, allocations: 43.95 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.2356, allocations: 320.8 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.2357, allocations: 54.56 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.2358, allocations: 28.92 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.2359, allocations: 0 / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2359, allocations: 34.56 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2359, allocations: 4 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003527/0.2363, allocations: 97.55 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.2363, allocations: 55.34 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.2364, allocations: 117.8 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2364, allocations: 25.7 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.2365, allocations: 96.03 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2365, allocations: 3.906 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.2366, allocations: 21.72 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2367, allocations: 326.8 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.2368, allocations: 15.98 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.524e-05/0.2369, allocations: 33.7 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.237, allocations: 57.67 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.237, allocations: 0 / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002084/0.2372, allocations: 93.5 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2373, allocations: 4 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2373, allocations: 0 / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2373, allocations: 0 / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.2374, allocations: 15.98 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2374, allocations: 4.031 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/0.2375, allocations: 8.109 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2375, allocations: 7.938 kB / 0.787 GB, free: 9.414 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.2376, allocations: 121.7 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.2376, allocations: 7.906 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.2376, allocations: 11.84 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2377, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2377, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2377, allocations: 3.984 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2378, allocations: 177.6 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2378, allocations: 0 / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.2379, allocations: 11.98 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2379, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2379, allocations: 3.938 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2379, allocations: 0 / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.238, allocations: 4 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.2382, allocations: 187.6 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.2383, allocations: 81.02 kB / 0.7876 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2383, allocations: 4 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2384, allocations: 7.984 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.2385, allocations: 4 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2385, allocations: 7.984 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.2385, allocations: 83.28 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2385, allocations: 0 / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002228/0.2388, allocations: 16 kB / 0.7877 GB, free: 8.594 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000555/0.2393, allocations: 0.7046 MB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.2396, allocations: 55.89 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2396, allocations: 0 / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.821e-05/0.2397, allocations: 23.98 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.24, allocations: 7.984 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2415, allocations: 1.348 MB / 0.7898 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2418, allocations: 0.6807 MB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.707e-05/0.2419, allocations: 8 kB / 0.7905 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.2419, allocations: 15.42 kB / 0.7905 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2419, allocations: 4 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.2533, allocations: 1.615 MB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.2536, allocations: 209.9 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.977, allocations: 0 / 0.7923 GB, free: 3.867 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)