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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009285/0.0009285, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9016/0.9016, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.75/0.75, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.225e-05, allocations: 3.078 kB / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003067/0.003089, allocations: 1.743 MB / 481.8 MB, free: 5.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.004843, allocations: 1.427 MB / 483.2 MB, free: 3.793 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.004906, allocations: 0 / 483.2 MB, free: 3.793 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.005123, allocations: 29.34 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.005534, allocations: 116.4 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.005895, allocations: 149.1 kB / 483.5 MB, free: 3.516 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.006193, allocations: 261.8 kB / 483.7 MB, free: 3.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.418e-05/0.006277, allocations: 18.22 kB / 483.7 MB, free: 3.254 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03325/0.03953, allocations: 9.39 MB / 493.1 MB, free: 12.39 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.03965, allocations: 71.83 kB / 493.2 MB, free: 12.32 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.03968, allocations: 16 kB / 493.2 MB, free: 12.31 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.03979, allocations: 59.92 kB / 493.3 MB, free: 12.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.03986, allocations: 87.73 kB / 493.4 MB, free: 12.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.03992, allocations: 63.81 kB / 493.4 MB, free: 12.1 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.04019, allocations: 243.8 kB / 493.7 MB, free: 11.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0402, allocations: 0 / 493.7 MB, free: 11.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0402, allocations: 1.531 kB / 493.7 MB, free: 11.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.0402, allocations: 0 / 493.7 MB, free: 11.86 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004937/0.0407, allocations: 451.4 kB / 494.1 MB, free: 11.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.04073, allocations: 8.031 kB / 494.1 MB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.04077, allocations: 29.61 kB / 494.1 MB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.041, allocations: 238.6 kB / 494.4 MB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.04101, allocations: 12.38 kB / 494.4 MB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.04104, allocations: 16.38 kB / 494.4 MB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.04123, allocations: 247.5 kB / 494.6 MB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.04124, allocations: 4.172 kB / 494.6 MB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.04126, allocations: 8.781 kB / 494.7 MB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.04126, allocations: 4 kB / 494.7 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.04166, allocations: 487.6 kB / 495.1 MB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.04208, allocations: 328.9 kB / 495.5 MB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.04221, allocations: 109.5 kB / 495.6 MB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.04226, allocations: 48.77 kB / 495.6 MB, free: 9.812 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.04229, allocations: 11.98 kB / 495.6 MB, free: 9.801 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.04243, allocations: 148 kB / 495.8 MB, free: 9.641 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.333e-06/0.04243, allocations: 0 / 495.8 MB, free: 9.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002191/0.04265, allocations: 161.5 kB / 495.9 MB, free: 9.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.04269, allocations: 106.8 kB / 496 MB, free: 9.352 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.0428, allocations: 214.7 kB / 496.2 MB, free: 9.137 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.04283, allocations: 33.7 kB / 496.3 MB, free: 9.098 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.04287, allocations: 113.1 kB / 496.4 MB, free: 8.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.04292, allocations: 111 kB / 496.5 MB, free: 8.871 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.04298, allocations: 53.67 kB / 496.5 MB, free: 8.812 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.04305, allocations: 343.4 kB / 496.9 MB, free: 8.469 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.04309, allocations: 28.89 kB / 496.9 MB, free: 8.441 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.04316, allocations: 118.1 kB / 497 MB, free: 8.305 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.683e-05/0.04326, allocations: 91.53 kB / 497.1 MB, free: 8.211 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.04326, allocations: 1 kB / 497.1 MB, free: 8.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001365/0.0434, allocations: 142 kB / 497.3 MB, free: 8.066 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.04341, allocations: 4.656 kB / 497.3 MB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.04341, allocations: 3.938 kB / 497.3 MB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.04342, allocations: 4.75 kB / 497.3 MB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.04355, allocations: 47.97 kB / 497.3 MB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.04355, allocations: 1.5 kB / 497.3 MB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.04361, allocations: 31.81 kB / 497.3 MB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.04363, allocations: 4 kB / 497.3 MB, free: 7.973 MB / 458.7 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 7.516e-05/0.0437, allocations: 126.2 kB / 497.5 MB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.04373, allocations: 35.84 kB / 497.5 MB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.04397, allocations: 219.6 kB / 497.7 MB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.04397, allocations: 4.906 kB / 497.7 MB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.04397, allocations: 4 kB / 497.7 MB, free: 7.578 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.04398, allocations: 3.984 kB / 497.7 MB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.0441, allocations: 166.6 kB / 497.9 MB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.04411, allocations: 0 / 497.9 MB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.04419, allocations: 52.62 kB / 497.9 MB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.04419, allocations: 7.938 kB / 498 MB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.04421, allocations: 10.27 kB / 498 MB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.04421, allocations: 4 kB / 498 MB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.04421, allocations: 0 / 498 MB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.04435, allocations: 166.5 kB / 498.1 MB, free: 7.145 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.04441, allocations: 51.75 kB / 498.2 MB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.04443, allocations: 7.938 kB / 498.2 MB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.04449, allocations: 20.77 kB / 498.2 MB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.04453, allocations: 15.95 kB / 498.2 MB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.04454, allocations: 12.58 kB / 498.2 MB, free: 7.039 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.04459, allocations: 74.72 kB / 498.3 MB, free: 6.961 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04459, allocations: 0.9062 kB / 498.3 MB, free: 6.961 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.04473, allocations: 51.95 kB / 498.4 MB, free: 6.91 MB / 458.7 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.0009647/0.04569, allocations: 447.8 kB / 498.8 MB, free: 6.695 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.04585, allocations: 121.1 kB / 498.9 MB, free: 6.574 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.04585, allocations: 5.031 kB / 498.9 MB, free: 6.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.04592, allocations: 73.52 kB / 499 MB, free: 6.496 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.04604, allocations: 36.48 kB / 499 MB, free: 6.461 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.04667, allocations: 426.6 kB / 499.4 MB, free: 6.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.04672, allocations: 90.05 kB / 499.5 MB, free: 5.906 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.04684, allocations: 75.36 kB / 499.6 MB, free: 5.844 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.04698, allocations: 123.9 kB / 499.7 MB, free: 5.727 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.04698, allocations: 0 / 499.7 MB, free: 5.727 MB / 458.7 MB Notification: Performance of Templates: time 0.005064/0.05205, allocations: 3.159 MB / 0.4911 GB, free: 2.762 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.614490707870573]