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.001123/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001225/0.001225, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.543/1.543, allocations: 205.1 MB / 222 MB, free: 4.762 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.677/1.677, allocations: 292.3 MB / 0.5484 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.001416/0.001416, allocations: 71.48 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2293, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002597/0.2319, allocations: 1.575 MB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00029/0.2323, allocations: 124.8 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2323, allocations: 0 / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.2323, allocations: 3.938 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.2324, allocations: 7.938 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.2327, allocations: 61.16 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.2328, allocations: 51.91 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.2329, allocations: 19.94 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.233, allocations: 23.97 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.233, allocations: 23.84 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2331, allocations: 4 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.2331, allocations: 4 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.2331, allocations: 11.98 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.2332, allocations: 23.86 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.2333, allocations: 56.02 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2333, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2333, allocations: 7.938 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2333, allocations: 4 kB / 0.7847 GB, free: 11.89 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.0005293/0.2338, allocations: 378.2 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2339, allocations: 8.031 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.2339, allocations: 30.75 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.234, allocations: 4.938 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2341, allocations: 172.3 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.2341, allocations: 38.2 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2342, allocations: 384 / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.2344, allocations: 85.95 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2344, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2344, allocations: 4 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2344, allocations: 4 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2346, allocations: 47.89 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.2351, allocations: 316.8 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2353, allocations: 46.55 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.3e-05/0.2354, allocations: 36.88 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.2354, allocations: 0 / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.2354, allocations: 34.56 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2354, allocations: 0 / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003406/0.2358, allocations: 101.5 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2358, allocations: 51.41 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.2359, allocations: 113.8 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2359, allocations: 29.7 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.236, allocations: 88.05 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.236, allocations: 15.89 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.236, allocations: 17.72 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.2361, allocations: 318.7 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.2362, allocations: 23.97 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.2363, allocations: 37.7 kB / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.2365, allocations: 57.67 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2365, allocations: 0 / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002043/0.2367, allocations: 85.5 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2367, allocations: 7.938 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2367, allocations: 4.031 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2367, allocations: 4 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.2368, allocations: 11.98 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2368, allocations: 0 / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.2369, allocations: 4 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2369, allocations: 11.98 kB / 0.7868 GB, free: 9.5 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.083e-05/0.237, allocations: 117.7 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.237, allocations: 3.906 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.2371, allocations: 15.84 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.2371, allocations: 4 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2371, allocations: 0 / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2371, allocations: 0 / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.2372, allocations: 177.6 kB / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2373, allocations: 0 / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.2373, allocations: 19.98 kB / 0.7871 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2373, allocations: 3.938 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2373, allocations: 0 / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2374, allocations: 0 / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2374, allocations: 0 / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.2376, allocations: 175.7 kB / 0.7873 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.2376, allocations: 85.17 kB / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2377, allocations: 11.98 kB / 0.7874 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2378, allocations: 11.98 kB / 0.7874 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.2378, allocations: 0 / 0.7874 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2379, allocations: 11.94 kB / 0.7874 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.2379, allocations: 87.27 kB / 0.7875 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2379, allocations: 0 / 0.7875 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000214/0.2381, allocations: 8 kB / 0.7875 GB, free: 8.68 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.0004818/0.2386, allocations: 0.7085 MB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.2388, allocations: 55.89 kB / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2388, allocations: 0 / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.2389, allocations: 19.98 kB / 0.7883 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2392, allocations: 8 kB / 0.7883 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2405, allocations: 1.33 MB / 0.7896 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2407, allocations: 0.6848 MB / 0.7903 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.2407, allocations: 8 kB / 0.7903 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.2408, allocations: 19.44 kB / 0.7903 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of SimCode: time 1.372e-06/0.2408, allocations: 0 / 0.7903 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.2515, allocations: 1.571 MB / 0.7918 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.2517, allocations: 208.9 kB / 0.792 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.904, allocations: 64 / 0.792 GB, free: 3.992 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)