Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001186/0.001186, 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.001424/0.001424, allocations: 194 kB / 16.14 MB, free: 6.652 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9814/0.9814, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.62 kB / 0.5047 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2058, allocations: 80.93 MB / 0.5837 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003193/0.2091, allocations: 1.694 MB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2108, allocations: 1.14 MB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.2109, allocations: 0 / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.2111, allocations: 19.92 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.2114, allocations: 55.77 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.2117, allocations: 130.8 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.212, allocations: 221.6 kB / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2121, allocations: 12.23 kB / 0.5869 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.2122, allocations: 75.81 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2124, allocations: 91.7 kB / 0.5871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.2125, allocations: 8 kB / 0.5871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2126, allocations: 71.97 kB / 0.5871 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.2127, allocations: 79.73 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2128, allocations: 95.39 kB / 0.5873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.2132, allocations: 267.4 kB / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2132, allocations: 0 / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2132, allocations: 0 / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.2132, allocations: 0 / 0.5876 GB, free: 1 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.0008458/0.214, allocations: 0.5229 MB / 0.5881 GB, free: 440 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2141, allocations: 12.03 kB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.2142, allocations: 28.66 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.2145, allocations: 268.8 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2145, allocations: 8.375 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.2146, allocations: 20.36 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.215, allocations: 220.9 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.215, allocations: 4 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.215, allocations: 7.938 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.215, allocations: 8 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.2159, allocations: 0.7295 MB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009723/0.2169, allocations: 0.5819 MB / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.2173, allocations: 224.2 kB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2174, allocations: 104.8 kB / 0.5902 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.2175, allocations: 23.95 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.2178, allocations: 165.5 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.2178, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006746/0.2185, allocations: 372.1 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.2186, allocations: 132.5 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.2189, allocations: 305 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2189, allocations: 37.7 kB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.219, allocations: 124.7 kB / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.2191, allocations: 110.5 kB / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.2192, allocations: 65.69 kB / 0.5915 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2194, allocations: 334.8 kB / 0.5918 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.2195, allocations: 79.95 kB / 0.5919 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2198, allocations: 123.4 kB / 0.592 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.2201, allocations: 213.5 kB / 0.5922 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2201, allocations: 0 / 0.5922 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004179/0.2205, allocations: 269.2 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2206, allocations: 4 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2206, allocations: 0 / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2206, allocations: 4 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.2208, allocations: 59.91 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2208, allocations: 4 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.221, allocations: 23.83 kB / 0.5926 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.221, allocations: 15.94 kB / 0.5926 GB, free: 11.58 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.0001645/0.2212, allocations: 169.7 kB / 0.5927 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.2212, allocations: 23.72 kB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006865/0.2219, allocations: 376.7 kB / 0.5931 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2219, allocations: 4 kB / 0.5931 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.222, allocations: 0 / 0.5931 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.222, allocations: 4 kB / 0.5931 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.2223, allocations: 329.2 kB / 0.5934 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2223, allocations: 0 / 0.5934 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.2225, allocations: 63.91 kB / 0.5935 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2225, allocations: 4 kB / 0.5935 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2225, allocations: 11.94 kB / 0.5935 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2225, allocations: 0 / 0.5935 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2225, allocations: 3.938 kB / 0.5935 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.223, allocations: 326.2 kB / 0.5938 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.2231, allocations: 144.7 kB / 0.594 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.2232, allocations: 4 kB / 0.594 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2233, allocations: 15.98 kB / 0.594 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.2234, allocations: 19.97 kB / 0.594 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.2234, allocations: 15.98 kB / 0.594 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002037/0.2236, allocations: 236.4 kB / 0.5942 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2236, allocations: 0 / 0.5942 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002854/0.2239, allocations: 59.98 kB / 0.5943 GB, free: 9.703 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.0009503/0.2249, allocations: 411.8 kB / 0.5947 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.2253, allocations: 219.8 kB / 0.5949 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2253, allocations: 0 / 0.5949 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.2255, allocations: 119.8 kB / 0.595 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.2258, allocations: 40.59 kB / 0.5951 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.2266, allocations: 0.5763 MB / 0.5956 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.227, allocations: 0.7581 MB / 0.5964 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000326/0.2273, allocations: 146.8 kB / 0.5965 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.2274, allocations: 39.42 kB / 0.5965 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.2274, allocations: 4 kB / 0.5965 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.006736/0.2341, allocations: 2.93 MB / 0.5994 GB, free: 4.629 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)