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.00121/0.001215, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9804/0.9804, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 65.02 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1988, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003399/0.2023, allocations: 1.48 MB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000401/0.2027, allocations: 125.3 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.2028, allocations: 3.938 kB / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.2029, allocations: 3.938 kB / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.2029, allocations: 15.86 kB / 0.5861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.2033, allocations: 63.52 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.2034, allocations: 55.91 kB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.2035, allocations: 23.97 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.2036, allocations: 31.86 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.2036, allocations: 23.84 kB / 0.5863 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.2037, allocations: 8 kB / 0.5863 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.2037, allocations: 4 kB / 0.5863 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2037, allocations: 8 kB / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.2038, allocations: 27.84 kB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2039, allocations: 56.12 kB / 0.5864 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.2039, allocations: 0 / 0.5864 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2039, allocations: 0 / 0.5864 GB, free: 2.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2039, allocations: 11.94 kB / 0.5864 GB, free: 2.523 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.0004907/0.2044, allocations: 367.3 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2044, allocations: 16.02 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.2045, allocations: 30.75 kB / 0.5868 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.2045, allocations: 4.938 kB / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2046, allocations: 172.2 kB / 0.5869 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.2047, allocations: 34.27 kB / 0.587 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-06/0.2047, allocations: 4.375 kB / 0.587 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.2049, allocations: 81.89 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.205, allocations: 0 / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.205, allocations: 7.984 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.205, allocations: 4 kB / 0.5871 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2052, allocations: 43.95 kB / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.2058, allocations: 316.7 kB / 0.5874 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2059, allocations: 46.5 kB / 0.5874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.206, allocations: 36.92 kB / 0.5875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.206, allocations: 4 kB / 0.5875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2061, allocations: 30.56 kB / 0.5875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.2061, allocations: 0 / 0.5875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003476/0.2064, allocations: 93.64 kB / 0.5876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.2065, allocations: 55.34 kB / 0.5877 GB, free: 1.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.2066, allocations: 113.8 kB / 0.5878 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2066, allocations: 29.7 kB / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.2067, allocations: 96.05 kB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.2067, allocations: 15.89 kB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.2067, allocations: 13.72 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2068, allocations: 322.8 kB / 0.5882 GB, free: 400 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.2069, allocations: 23.92 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.791e-05/0.207, allocations: 37.69 kB / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.2072, allocations: 61.69 kB / 0.5883 GB, free: 264 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2072, allocations: 0 / 0.5883 GB, free: 264 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002197/0.2075, allocations: 85.5 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2075, allocations: 7.984 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2075, allocations: 4.031 kB / 0.5884 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2075, allocations: 4 kB / 0.5884 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.2076, allocations: 8 kB / 0.5884 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2076, allocations: 3.938 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.2077, allocations: 7.984 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.2077, allocations: 4 kB / 0.5885 GB, free: 132 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 7.73e-05/0.2078, allocations: 121.7 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.2078, allocations: 4.078 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.2079, allocations: 15.89 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2079, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2079, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2079, allocations: 240 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.2081, allocations: 177.5 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2081, allocations: 128 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.2082, allocations: 12 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2082, allocations: 7.984 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2082, allocations: 3.984 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2082, allocations: 0 / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2082, allocations: 4 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.2084, allocations: 179.4 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.2085, allocations: 81.02 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.2085, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2086, allocations: 15.98 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.2087, allocations: 7.984 kB / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.2087, allocations: 4 kB / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.2088, allocations: 83.28 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2088, allocations: 0 / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002208/0.209, allocations: 8 kB / 0.5892 GB, free: 15.31 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.0005899/0.2096, allocations: 0.7085 MB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.2098, allocations: 51.89 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2098, allocations: 0 / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.2099, allocations: 27.97 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.2102, allocations: 11.94 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2117, allocations: 1.33 MB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.212, allocations: 0.6885 MB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.2121, allocations: 7.984 kB / 0.5919 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.2121, allocations: 15.44 kB / 0.5919 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2121, allocations: 0 / 0.5919 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.2318, allocations: 1.743 MB / 0.5936 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.93, allocations: 3.984 kB / 0.5936 GB, free: 10.68 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)