Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_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.0008978/0.0008977, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008642/0.0008642, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003674, allocations: 8 kB / 0.5071 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2113, allocations: 82.31 MB / 0.5875 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001766/0.2131, allocations: 1.204 MB / 0.5886 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003694/0.2135, allocations: 107.7 kB / 0.5887 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.2136, allocations: 0 / 0.5887 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.2136, allocations: 0 / 0.5887 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.386e-05/0.2137, allocations: 7.922 kB / 0.5887 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.2141, allocations: 59.92 kB / 0.5888 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2142, allocations: 51.84 kB / 0.5889 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2143, allocations: 19.97 kB / 0.5889 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.2144, allocations: 23.92 kB / 0.5889 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.2145, allocations: 15.86 kB / 0.5889 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2145, allocations: 4 kB / 0.5889 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.2145, allocations: 0 / 0.5889 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.2145, allocations: 11.98 kB / 0.5889 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.2146, allocations: 37.64 kB / 0.589 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.877e-05/0.2147, allocations: 31.92 kB / 0.589 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2147, allocations: 0 / 0.589 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2147, allocations: 4 kB / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2147, allocations: 0 / 0.589 GB, free: 1.449 MB / 494.1 MB 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.000495/0.2152, allocations: 367.5 kB / 0.5893 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2152, allocations: 8.031 kB / 0.5894 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.2153, allocations: 34.5 kB / 0.5894 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.2153, allocations: 19.84 kB / 0.5894 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2155, allocations: 171 kB / 0.5896 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.2156, allocations: 33.7 kB / 0.5896 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2156, allocations: 4 kB / 0.5896 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.2158, allocations: 85.58 kB / 0.5897 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2158, allocations: 3.984 kB / 0.5897 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2158, allocations: 4 kB / 0.5897 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2159, allocations: 0 / 0.5897 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.216, allocations: 55.95 kB / 0.5897 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.2167, allocations: 332.7 kB / 0.5901 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.2168, allocations: 54.48 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.529e-05/0.2169, allocations: 44.92 kB / 0.5902 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.2169, allocations: 0 / 0.5902 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.217, allocations: 30.56 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.217, allocations: 0 / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003859/0.2174, allocations: 125.4 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2174, allocations: 51.41 kB / 0.5904 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.2175, allocations: 105.8 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2175, allocations: 29.7 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.2176, allocations: 96.06 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.2176, allocations: 11.81 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2176, allocations: 0 / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.2177, allocations: 314.8 kB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.2178, allocations: 27.97 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.449e-05/0.2179, allocations: 45.64 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.799e-05/0.218, allocations: 27.98 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.218, allocations: 0 / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002203/0.2182, allocations: 97.58 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2183, allocations: 8 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2183, allocations: 0 / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2183, allocations: 3.953 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.2184, allocations: 15.98 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2184, allocations: 0 / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.2185, allocations: 19.94 kB / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2185, allocations: 0 / 0.5911 GB, free: 15.03 MB / 0.4981 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 8.586e-05/0.2186, allocations: 109.8 kB / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2186, allocations: 7.984 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.2187, allocations: 11.84 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2187, allocations: 3.953 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2187, allocations: 0 / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2187, allocations: 0 / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2189, allocations: 189.5 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2189, allocations: 240 / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.219, allocations: 15.98 kB / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.219, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.219, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.219, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.219, allocations: 7.938 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.2193, allocations: 183.4 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.2193, allocations: 85.11 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2193, allocations: 4.125 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2195, allocations: 15.98 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.2195, allocations: 7.984 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.2195, allocations: 7.891 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.2196, allocations: 91.27 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2196, allocations: 0 / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002286/0.2198, allocations: 8 kB / 0.5918 GB, free: 14.19 MB / 0.4981 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.0005542/0.2204, allocations: 0.7124 MB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.2206, allocations: 67.89 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2206, allocations: 0 / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.2207, allocations: 35.91 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.221, allocations: 7.656 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.2219, allocations: 495 kB / 0.5931 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2222, allocations: 0.6845 MB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.249e-05/0.2223, allocations: 11.98 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.2223, allocations: 15.44 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2223, allocations: 0 / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2343, allocations: 1.482 MB / 0.5953 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.2345, allocations: 192 kB / 0.5954 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.916, allocations: 0 / 0.5954 GB, free: 10.51 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) Environment - environmentSimulation: