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.0008566/0.0008566, 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.0008983/0.0008984, allocations: 189 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9687/0.9687, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 64.91 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2109, allocations: 80.92 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003746/0.2147, allocations: 1.552 MB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.2152, allocations: 131.6 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.2153, allocations: 0 / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.785e-05/0.2153, allocations: 0 / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.062e-05/0.2155, allocations: 7.922 kB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.2159, allocations: 67.91 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.216, allocations: 55.84 kB / 0.5858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2162, allocations: 19.97 kB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2163, allocations: 27.92 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.2164, allocations: 23.86 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.2164, allocations: 8 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.2165, allocations: 4 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.2165, allocations: 11.98 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.2166, allocations: 27.84 kB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2167, allocations: 52.14 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2167, allocations: 0 / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2167, allocations: 3.938 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2167, allocations: 4 kB / 0.5859 GB, free: 2.773 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.0006777/0.2174, allocations: 375.3 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.2175, allocations: 12.03 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.2175, allocations: 30.75 kB / 0.5863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.2176, allocations: 4.938 kB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.2178, allocations: 180.2 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.2179, allocations: 34.27 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2179, allocations: 384 / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2182, allocations: 77.97 kB / 0.5866 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2182, allocations: 0 / 0.5866 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.2182, allocations: 4 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2182, allocations: 4 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.2184, allocations: 43.95 kB / 0.5867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.2192, allocations: 324.6 kB / 0.587 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.2193, allocations: 50.53 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2194, allocations: 32.94 kB / 0.587 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2195, allocations: 0 / 0.587 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2195, allocations: 38.55 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2195, allocations: 0 / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003948/0.2199, allocations: 97.58 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.22, allocations: 51.41 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2201, allocations: 109.8 kB / 0.5873 GB, free: 1.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.2201, allocations: 25.7 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.2202, allocations: 91.98 kB / 0.5874 GB, free: 1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.2202, allocations: 23.95 kB / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.2203, allocations: 13.72 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2204, allocations: 318.8 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.2205, allocations: 23.97 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2206, allocations: 29.7 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.2208, allocations: 69.61 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2208, allocations: 0 / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002267/0.2211, allocations: 81.56 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2211, allocations: 4 kB / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2211, allocations: 0 / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2211, allocations: 4 kB / 0.588 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2212, allocations: 23.89 kB / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2212, allocations: 0 / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.2213, allocations: 7.984 kB / 0.588 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2213, allocations: 4 kB / 0.588 GB, free: 384 kB / 494.1 MB 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 0.0001022/0.2214, allocations: 117.8 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.2215, allocations: 3.906 kB / 0.5881 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.2215, allocations: 7.906 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2215, allocations: 4 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2215, allocations: 4 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2215, allocations: 0 / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.2217, allocations: 177.5 kB / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2217, allocations: 0 / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.2218, allocations: 16.11 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2219, allocations: 4 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2219, allocations: 4 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2219, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2219, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2222, allocations: 179.4 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.2222, allocations: 85.28 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2222, allocations: 0 / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.2224, allocations: 19.92 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.2224, allocations: 0 / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2224, allocations: 7.984 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.2225, allocations: 87.27 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2225, allocations: 4 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002251/0.2228, allocations: 8 kB / 0.5887 GB, free: 15.56 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 (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.0006304/0.2234, allocations: 0.7085 MB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.2236, allocations: 51.95 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2236, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.2237, allocations: 27.92 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2241, allocations: 12.86 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2256, allocations: 1.344 MB / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2259, allocations: 0.6846 MB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.226, allocations: 8 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.2261, allocations: 19.44 kB / 0.5915 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.2261, allocations: 0 / 0.5915 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.2471, allocations: 1.609 MB / 0.5931 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.2473, allocations: 208.8 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.257, allocations: 0 / 0.5933 GB, free: 10.84 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/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)