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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001801/0.001801, allocations: 191.5 kB / 16.13 MB, free: 6.707 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.168/1.168, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.061/1.061, allocations: 135.1 MB / 425.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.62 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2177, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003538/0.2213, allocations: 1.554 MB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004095/0.2218, allocations: 127.6 kB / 0.5854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.2218, allocations: 0 / 0.5854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.2219, allocations: 3.984 kB / 0.5855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.222, allocations: 7.938 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.2224, allocations: 66.86 kB / 0.5855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2225, allocations: 55.83 kB / 0.5856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2226, allocations: 19.98 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.2227, allocations: 23.92 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.2228, allocations: 23.84 kB / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.2228, allocations: 4 kB / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.2229, allocations: 8 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.2229, allocations: 11.97 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.223, allocations: 23.86 kB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2231, allocations: 52.14 kB / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2231, allocations: 0 / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.2231, allocations: 0 / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.2231, allocations: 3.938 kB / 0.5857 GB, free: 2.934 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.0006732/0.2238, allocations: 371.3 kB / 0.5861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2239, allocations: 12.03 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.2239, allocations: 38.75 kB / 0.5861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.224, allocations: 4.938 kB / 0.5861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2241, allocations: 168.2 kB / 0.5863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.683e-05/0.2242, allocations: 34.25 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2243, allocations: 8.312 kB / 0.5863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.2246, allocations: 77.97 kB / 0.5864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2246, allocations: 0 / 0.5864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.2246, allocations: 0 / 0.5864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2246, allocations: 4 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.2249, allocations: 47.95 kB / 0.5865 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.2257, allocations: 324.6 kB / 0.5868 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.226, allocations: 54.55 kB / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.2261, allocations: 24.94 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2261, allocations: 4 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2262, allocations: 30.56 kB / 0.5869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2262, allocations: 0 / 0.5869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000542/0.2267, allocations: 105.6 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.2268, allocations: 51.41 kB / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.227, allocations: 109.8 kB / 0.5871 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.227, allocations: 29.7 kB / 0.5872 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.2271, allocations: 91.98 kB / 0.5873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2271, allocations: 7.906 kB / 0.5873 GB, free: 1.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.2272, allocations: 21.7 kB / 0.5873 GB, free: 1.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.2274, allocations: 318.8 kB / 0.5876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.2275, allocations: 19.98 kB / 0.5876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.2277, allocations: 37.69 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.228, allocations: 57.62 kB / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.228, allocations: 7.938 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003472/0.2283, allocations: 89.78 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2284, allocations: 4 kB / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2284, allocations: 0 / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2284, allocations: 0 / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2286, allocations: 19.92 kB / 0.5878 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2286, allocations: 3.938 kB / 0.5878 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.2287, allocations: 12.02 kB / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2287, allocations: 4 kB / 0.5878 GB, free: 0.5312 MB / 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.0001242/0.2288, allocations: 117.8 kB / 0.588 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.2289, allocations: 7.906 kB / 0.588 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.2289, allocations: 7.906 kB / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.229, allocations: 0 / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.229, allocations: 0 / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.229, allocations: 4 kB / 0.588 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.2293, allocations: 177.5 kB / 0.5881 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2293, allocations: 4 kB / 0.5881 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.2294, allocations: 11.98 kB / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2294, allocations: 0 / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2294, allocations: 4 kB / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2294, allocations: 0 / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2294, allocations: 0 / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.2298, allocations: 175.4 kB / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.2299, allocations: 89.02 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2299, allocations: 0 / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2302, allocations: 12.11 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.2302, allocations: 7.984 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2302, allocations: 0 / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.2303, allocations: 91.27 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2303, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004232/0.2308, allocations: 12 kB / 0.5885 GB, free: 15.72 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.0007661/0.2315, allocations: 0.7085 MB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.2319, allocations: 47.95 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2319, allocations: 4.062 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.232, allocations: 27.97 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.2326, allocations: 4.562 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.2348, allocations: 1.342 MB / 0.5906 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.2351, allocations: 0.6848 MB / 0.5913 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.571e-05/0.2352, allocations: 8 kB / 0.5913 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.2353, allocations: 11.44 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.2353, allocations: 4 kB / 0.5913 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.2502, allocations: 1.558 MB / 0.5928 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.2506, allocations: 208.6 kB / 0.593 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.101, allocations: 0 / 0.593 GB, free: 11.05 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)