Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001551/0.001551, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 64.81 kB / 0.5013 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1883, allocations: 80.2 MB / 0.5796 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002943/0.1913, allocations: 1.698 MB / 0.5813 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1929, allocations: 1.144 MB / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.1929, allocations: 0 / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.1932, allocations: 23.91 kB / 0.5824 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.1934, allocations: 59.75 kB / 0.5825 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1938, allocations: 133.4 kB / 0.5826 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1941, allocations: 241.5 kB / 0.5828 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1942, allocations: 16.23 kB / 0.5828 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.1943, allocations: 83.88 kB / 0.5829 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1945, allocations: 99.58 kB / 0.583 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1945, allocations: 16 kB / 0.583 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1947, allocations: 71.98 kB / 0.5831 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.1948, allocations: 87.8 kB / 0.5832 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1949, allocations: 103.4 kB / 0.5833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1952, allocations: 279.4 kB / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1952, allocations: 0 / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1952, allocations: 7.984 kB / 0.5836 GB, free: 5.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1952, allocations: 0 / 0.5836 GB, free: 5.055 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007228/0.196, allocations: 0.5228 MB / 0.5841 GB, free: 4.484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.196, allocations: 12.03 kB / 0.5841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.1961, allocations: 24.66 kB / 0.5841 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1964, allocations: 269.9 kB / 0.5844 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1964, allocations: 12.38 kB / 0.5844 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1964, allocations: 12.38 kB / 0.5844 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.1968, allocations: 217 kB / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.1968, allocations: 0 / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.1968, allocations: 4 kB / 0.5846 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1968, allocations: 4 kB / 0.5846 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/0.1977, allocations: 0.7411 MB / 0.5853 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.1986, allocations: 0.5742 MB / 0.5859 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.1989, allocations: 224.2 kB / 0.5861 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.1991, allocations: 100.8 kB / 0.5862 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.1991, allocations: 23.89 kB / 0.5862 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.1995, allocations: 181.5 kB / 0.5864 GB, free: 1.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.1995, allocations: 0 / 0.5864 GB, free: 1.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006715/0.2002, allocations: 368.8 kB / 0.5867 GB, free: 1.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.2003, allocations: 136.5 kB / 0.5869 GB, free: 1.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.2006, allocations: 301 kB / 0.5872 GB, free: 1.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.2006, allocations: 33.7 kB / 0.5872 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.2007, allocations: 120.8 kB / 0.5873 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/0.2008, allocations: 110.4 kB / 0.5874 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.2009, allocations: 61.69 kB / 0.5875 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.201, allocations: 342.8 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.2011, allocations: 83.89 kB / 0.5879 GB, free: 388 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2013, allocations: 119.4 kB / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.2016, allocations: 205.6 kB / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2016, allocations: 0 / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004287/0.2021, allocations: 273.3 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2021, allocations: 4 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2021, allocations: 4 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2021, allocations: 7.938 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2023, allocations: 55.91 kB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2024, allocations: 4 kB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2025, allocations: 27.83 kB / 0.5885 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.2025, allocations: 15.92 kB / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001578/0.2027, allocations: 166.3 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.2028, allocations: 23.72 kB / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006338/0.2034, allocations: 384.6 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2034, allocations: 8.031 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2034, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2034, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.2037, allocations: 329.2 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2038, allocations: 4 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.2039, allocations: 51.91 kB / 0.5895 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2039, allocations: 4 kB / 0.5895 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.204, allocations: 12 kB / 0.5895 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.204, allocations: 0 / 0.5895 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.204, allocations: 4 kB / 0.5895 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.2044, allocations: 326.2 kB / 0.5898 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2046, allocations: 140.7 kB / 0.5899 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2046, allocations: 8 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.2048, allocations: 18.8 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.2049, allocations: 23.97 kB / 0.59 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.2049, allocations: 15.98 kB / 0.59 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001999/0.2051, allocations: 244.4 kB / 0.5902 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.413e-06/0.2051, allocations: 0 / 0.5902 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002927/0.2054, allocations: 55.94 kB / 0.5903 GB, free: 13.77 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008688/0.2063, allocations: 404.8 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.2068, allocations: 287.7 kB / 0.591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2068, allocations: 4 kB / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.207, allocations: 127.8 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2073, allocations: 34.84 kB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.2081, allocations: 0.5803 MB / 0.5917 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.2085, allocations: 0.7581 MB / 0.5924 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.2088, allocations: 150.8 kB / 0.5926 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.2089, allocations: 39.42 kB / 0.5926 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2089, allocations: 0 / 0.5926 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.006882/0.2158, allocations: 3.007 MB / 0.5955 GB, free: 8.57 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)