Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.88 kB / 19.94 MB, free: 4.547 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.0009533/0.0009533, allocations: 181 kB / 23.36 MB, free: 1.133 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.8965/0.8965, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.7503/0.7503, allocations: 154.6 MB / 414.9 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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.246e-05, allocations: 2.969 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002472/0.002484, allocations: 1.945 MB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.00423, allocations: 1.862 MB / 483.8 MB, free: 3.129 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.004294, allocations: 5.219 kB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.004466, allocations: 25.41 kB / 483.9 MB, free: 3.102 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.004795, allocations: 134.1 kB / 484 MB, free: 2.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.005107, allocations: 169.5 kB / 484.2 MB, free: 2.816 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.005346, allocations: 297.2 kB / 484.5 MB, free: 2.527 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.005417, allocations: 31.38 kB / 484.5 MB, free: 2.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02208/0.0275, allocations: 9.403 MB / 493.9 MB, free: 11.61 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.02764, allocations: 87.75 kB / 494 MB, free: 11.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.02767, allocations: 20 kB / 494 MB, free: 11.51 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.02783, allocations: 63.92 kB / 494.1 MB, free: 11.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.02791, allocations: 92.56 kB / 494.1 MB, free: 11.36 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.02799, allocations: 79.75 kB / 494.2 MB, free: 11.28 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.02831, allocations: 268.8 kB / 494.5 MB, free: 11.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02831, allocations: 0 / 494.5 MB, free: 11.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02831, allocations: 3.938 kB / 494.5 MB, free: 11.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.02832, allocations: 0 / 494.5 MB, free: 11.01 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005009/0.02882, allocations: 472.1 kB / 494.9 MB, free: 10.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.02885, allocations: 13.03 kB / 495 MB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.02899, allocations: 44.73 kB / 495 MB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.02923, allocations: 240.7 kB / 495.2 MB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.02925, allocations: 13.03 kB / 495.3 MB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.02927, allocations: 24.38 kB / 495.3 MB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.02949, allocations: 281.1 kB / 495.6 MB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.0295, allocations: 3.938 kB / 495.6 MB, free: 9.859 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.02952, allocations: 8 kB / 495.6 MB, free: 9.852 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.02952, allocations: 4 kB / 495.6 MB, free: 9.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.02993, allocations: 0.4893 MB / 496.1 MB, free: 9.363 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.03043, allocations: 375.6 kB / 496.4 MB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.03061, allocations: 141.4 kB / 496.6 MB, free: 8.828 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.03066, allocations: 46.02 kB / 496.6 MB, free: 8.781 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.03068, allocations: 18.02 kB / 496.6 MB, free: 8.766 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.03084, allocations: 181.1 kB / 496.8 MB, free: 8.566 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.744e-06/0.03084, allocations: 0 / 496.8 MB, free: 8.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.0002254/0.03107, allocations: 168.4 kB / 497 MB, free: 8.398 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.03111, allocations: 106.8 kB / 497.1 MB, free: 8.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.03123, allocations: 214.3 kB / 497.3 MB, free: 8.055 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.03125, allocations: 29.7 kB / 497.3 MB, free: 8.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.03129, allocations: 121.1 kB / 497.4 MB, free: 7.898 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.03136, allocations: 119.9 kB / 497.5 MB, free: 7.781 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.03142, allocations: 57.66 kB / 497.6 MB, free: 7.719 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.0315, allocations: 342.7 kB / 497.9 MB, free: 7.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.03154, allocations: 33.31 kB / 498 MB, free: 7.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.03161, allocations: 121.9 kB / 498.1 MB, free: 7.203 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.03172, allocations: 95.58 kB / 498.2 MB, free: 7.105 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.03172, allocations: 0.625 kB / 498.2 MB, free: 7.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001508/0.03187, allocations: 149.9 kB / 498.3 MB, free: 6.953 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.03189, allocations: 5.438 kB / 498.3 MB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.03189, allocations: 0 / 498.3 MB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.0319, allocations: 4 kB / 498.3 MB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.03203, allocations: 55.91 kB / 498.4 MB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.03203, allocations: 1.094 kB / 498.4 MB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.03211, allocations: 23.84 kB / 498.4 MB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.03212, allocations: 12.7 kB / 498.4 MB, free: 6.855 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 (36): * Single equations (assignments): 36 * 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 8.106e-05/0.0322, allocations: 132.5 kB / 498.6 MB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.03223, allocations: 32.88 kB / 498.6 MB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.03249, allocations: 228.5 kB / 498.8 MB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.0325, allocations: 4 kB / 498.8 MB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.0325, allocations: 2.625 kB / 498.8 MB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.0325, allocations: 0 / 498.8 MB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.03265, allocations: 173.5 kB / 499 MB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.03265, allocations: 0 / 499 MB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.03274, allocations: 55.89 kB / 499 MB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.03275, allocations: 7.938 kB / 499 MB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.03276, allocations: 4 kB / 499.1 MB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.077e-05/0.03279, allocations: 4.781 kB / 499.1 MB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.03279, allocations: 0 / 499.1 MB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.03295, allocations: 190.5 kB / 499.2 MB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.03301, allocations: 52.5 kB / 499.3 MB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.03303, allocations: 7.984 kB / 499.3 MB, free: 5.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.0331, allocations: 21.92 kB / 499.3 MB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.03314, allocations: 23.89 kB / 499.3 MB, free: 5.887 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.03315, allocations: 12 kB / 499.4 MB, free: 5.875 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.03321, allocations: 70.77 kB / 499.4 MB, free: 5.801 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03321, allocations: 0.9062 kB / 499.4 MB, free: 5.801 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.03336, allocations: 59.94 kB / 499.5 MB, free: 5.742 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 (35): * Single equations (assignments): 34 * 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.0008521/0.03422, allocations: 449.8 kB / 499.9 MB, free: 5.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.03438, allocations: 120.6 kB / 0.4883 GB, free: 5.398 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.03438, allocations: 1.906 kB / 0.4883 GB, free: 5.398 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.03446, allocations: 81.5 kB / 0.4884 GB, free: 5.316 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.03479, allocations: 52.3 kB / 0.4885 GB, free: 5.266 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.03552, allocations: 466.4 kB / 0.4889 GB, free: 4.789 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.028e-05/0.03557, allocations: 90.12 kB / 0.489 GB, free: 4.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.03569, allocations: 79.27 kB / 0.4891 GB, free: 4.613 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.03585, allocations: 134 kB / 0.4892 GB, free: 4.484 MB / 458.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03585, allocations: 0 / 0.4892 GB, free: 4.484 MB / 458.7 MB Notification: Performance of Templates: time 0.005497/0.04134, allocations: 3.705 MB / 0.4928 GB, free: 1.016 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.555850574746728]