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.001096/0.001097, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001031/0.001031, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7605/0.7605, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3333, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002455/0.3358, allocations: 1.651 MB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3371, allocations: 1.167 MB / 0.5843 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.3372, allocations: 0 / 0.5843 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.3374, allocations: 21.75 kB / 0.5843 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.3376, allocations: 73.8 kB / 0.5843 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.3379, allocations: 150.3 kB / 0.5845 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.3382, allocations: 239.6 kB / 0.5847 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3383, allocations: 16.42 kB / 0.5847 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.3384, allocations: 86.91 kB / 0.5848 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3386, allocations: 88.95 kB / 0.5849 GB, free: 25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.3387, allocations: 17.97 kB / 0.5849 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3388, allocations: 75.72 kB / 0.585 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.3389, allocations: 82.02 kB / 0.5851 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.339, allocations: 111 kB / 0.5852 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.3393, allocations: 281.4 kB / 0.5854 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3393, allocations: 0 / 0.5854 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3393, allocations: 1.125 kB / 0.5854 GB, free: 24.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3393, allocations: 0 / 0.5854 GB, free: 24.66 MB / 446.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.0006196/0.3399, allocations: 0.5281 MB / 0.586 GB, free: 24.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.34, allocations: 9.812 kB / 0.586 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.3401, allocations: 35.27 kB / 0.586 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3403, allocations: 269.6 kB / 0.5863 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3403, allocations: 10.59 kB / 0.5863 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3404, allocations: 13.09 kB / 0.5863 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3407, allocations: 211.4 kB / 0.5865 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3407, allocations: 1.031 kB / 0.5865 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3407, allocations: 14.64 kB / 0.5865 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.3407, allocations: 4.25 kB / 0.5865 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.3415, allocations: 0.7402 MB / 0.5872 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.3423, allocations: 0.5656 MB / 0.5878 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.3426, allocations: 224.8 kB / 0.588 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.3428, allocations: 101.4 kB / 0.5881 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.3428, allocations: 19.44 kB / 0.5881 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.3431, allocations: 173.4 kB / 0.5883 GB, free: 22.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.3431, allocations: 0 / 0.5883 GB, free: 22.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005938/0.3437, allocations: 368.9 kB / 0.5886 GB, free: 22.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3437, allocations: 133.2 kB / 0.5888 GB, free: 22.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.344, allocations: 308.8 kB / 0.589 GB, free: 22.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.344, allocations: 32.14 kB / 0.5891 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3441, allocations: 120.8 kB / 0.5892 GB, free: 21.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.3442, allocations: 113.7 kB / 0.5893 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/0.3443, allocations: 61.72 kB / 0.5894 GB, free: 21.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.3443, allocations: 341.7 kB / 0.5897 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3445, allocations: 83.45 kB / 0.5898 GB, free: 21.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3446, allocations: 121.1 kB / 0.5899 GB, free: 21.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3449, allocations: 213.9 kB / 0.5901 GB, free: 21.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3449, allocations: 0 / 0.5901 GB, free: 21.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003382/0.3453, allocations: 265.3 kB / 0.5903 GB, free: 20.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3453, allocations: 8 kB / 0.5903 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3453, allocations: 2.438 kB / 0.5903 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3453, allocations: 0 / 0.5903 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.3455, allocations: 63.91 kB / 0.5904 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3455, allocations: 0 / 0.5904 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3457, allocations: 27.73 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.3457, allocations: 19.92 kB / 0.5905 GB, free: 20.77 MB / 446.1 MB 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.0001111/0.3458, allocations: 167.8 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3459, allocations: 23.72 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.3464, allocations: 376.7 kB / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3464, allocations: 4 kB / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3464, allocations: 0 / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3465, allocations: 8.734 kB / 0.591 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.3467, allocations: 325.2 kB / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3467, allocations: 4.719 kB / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3468, allocations: 55.91 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3468, allocations: 1.344 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3469, allocations: 8 kB / 0.5914 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3469, allocations: 4 kB / 0.5914 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3469, allocations: 3.984 kB / 0.5914 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.3472, allocations: 319.4 kB / 0.5917 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3474, allocations: 147.9 kB / 0.5918 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.3474, allocations: 8 kB / 0.5918 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3476, allocations: 15.98 kB / 0.5919 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.3476, allocations: 23.95 kB / 0.5919 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.3476, allocations: 12 kB / 0.5919 GB, free: 19.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.3478, allocations: 240.4 kB / 0.5921 GB, free: 18.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.3478, allocations: 1.375 kB / 0.5921 GB, free: 18.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3481, allocations: 63.88 kB / 0.5922 GB, free: 18.9 MB / 446.1 MB 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.0008977/0.349, allocations: 406.1 kB / 0.5926 GB, free: 18.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.3493, allocations: 225.5 kB / 0.5928 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3493, allocations: 0 / 0.5928 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3495, allocations: 127.8 kB / 0.5929 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3497, allocations: 33.27 kB / 0.5929 GB, free: 18.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.3504, allocations: 0.4914 MB / 0.5934 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3505, allocations: 0.7613 MB / 0.5942 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.3508, allocations: 150.4 kB / 0.5943 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3509, allocations: 43.41 kB / 0.5944 GB, free: 16.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3509, allocations: 0 / 0.5944 GB, free: 16.84 MB / 446.1 MB Notification: Performance of Templates: time 0.005631/0.3565, allocations: 3.028 MB / 0.5973 GB, free: 13.9 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)