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.000747/0.000747, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007768/0.0007768, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8306/0.8306, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-531:686: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-531:694: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.6809/0.6809, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.503e-06/1.503e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.202e-05, allocations: 5.094 kB / 0.6194 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002138/0.00216, allocations: 1.881 MB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.003699, allocations: 1.796 MB / 0.6229 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.00376, allocations: 0 / 0.6229 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.003958, allocations: 23.73 kB / 0.623 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006139/0.004572, allocations: 146.1 kB / 0.6231 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.004826, allocations: 170.1 kB / 0.6233 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.005057, allocations: 293.2 kB / 0.6235 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.005155, allocations: 25.28 kB / 0.6236 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.005261, allocations: 139.8 kB / 0.6237 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.005395, allocations: 99.67 kB / 0.6238 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.005422, allocations: 20 kB / 0.6238 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.005566, allocations: 123.8 kB / 0.6239 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.00564, allocations: 95.72 kB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.005702, allocations: 83.77 kB / 0.6241 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.006021, allocations: 394.7 kB / 0.6245 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006024, allocations: 4 kB / 0.6245 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006025, allocations: 0 / 0.6245 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.006029, allocations: 0 / 0.6245 GB, free: 7.863 MB / 0.5886 GB 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.0005798/0.006609, allocations: 0.5053 MB / 0.625 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.006642, allocations: 12.03 kB / 0.625 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.006747, allocations: 36.7 kB / 0.625 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.006949, allocations: 224.7 kB / 0.6252 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.006965, allocations: 16.38 kB / 0.6253 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.006983, allocations: 20.38 kB / 0.6253 GB, free: 7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.007279, allocations: 358 kB / 0.6256 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.007289, allocations: 3.938 kB / 0.6256 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.007309, allocations: 12 kB / 0.6256 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.007314, allocations: 4 kB / 0.6256 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.007831, allocations: 0.7059 MB / 0.6263 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.008457, allocations: 0.5353 MB / 0.6268 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.008779, allocations: 286.6 kB / 0.6271 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.008886, allocations: 101.4 kB / 0.6272 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.008915, allocations: 16.27 kB / 0.6272 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.00914, allocations: 231.5 kB / 0.6275 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.009141, allocations: 0 / 0.6275 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of matching and sorting (n=35): time 0.0004535/0.009595, allocations: 388 kB / 0.6278 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.009643, allocations: 132.5 kB / 0.628 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.009846, allocations: 325.8 kB / 0.6283 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.009866, allocations: 33.7 kB / 0.6283 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.00993, allocations: 136.7 kB / 0.6284 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.00999, allocations: 119 kB / 0.6285 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.01005, allocations: 65.67 kB / 0.6286 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.01013, allocations: 342.8 kB / 0.6289 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.523e-05/0.01023, allocations: 83.89 kB / 0.629 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.01036, allocations: 208.5 kB / 0.6292 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.01057, allocations: 216.6 kB / 0.6294 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01058, allocations: 0 / 0.6294 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002677/0.01084, allocations: 281.7 kB / 0.6297 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01086, allocations: 8 kB / 0.6297 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.01086, allocations: 0 / 0.6297 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.01087, allocations: 4 kB / 0.6297 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.011, allocations: 67.91 kB / 0.6298 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01101, allocations: 4 kB / 0.6298 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.01109, allocations: 35.7 kB / 0.6298 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.0111, allocations: 15.98 kB / 0.6298 GB, free: 2.129 MB / 0.5886 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 (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 0.0003404/0.01144, allocations: 162.7 kB / 0.63 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.01147, allocations: 31.81 kB / 0.63 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.01185, allocations: 376.9 kB / 0.6304 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01185, allocations: 4 kB / 0.6304 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01185, allocations: 0 / 0.6304 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.01186, allocations: 11.92 kB / 0.6304 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.01202, allocations: 245 kB / 0.6306 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01202, allocations: 4 kB / 0.6306 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.01212, allocations: 51.97 kB / 0.6307 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01212, allocations: 4 kB / 0.6307 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01213, allocations: 8 kB / 0.6307 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01213, allocations: 0 / 0.6307 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01213, allocations: 3.938 kB / 0.6307 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.01243, allocations: 338.2 kB / 0.631 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.0125, allocations: 75.62 kB / 0.6311 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01253, allocations: 11.98 kB / 0.6311 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01261, allocations: 23.98 kB / 0.6311 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.01265, allocations: 23.95 kB / 0.6311 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.01267, allocations: 19.98 kB / 0.6311 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001312/0.0128, allocations: 245.2 kB / 0.6314 GB, free: 476 kB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0128, allocations: 0 / 0.6314 GB, free: 476 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001948/0.01299, allocations: 87.8 kB / 0.6315 GB, free: 388 kB / 0.5886 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 (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.0006828/0.01368, allocations: 496.8 kB / 0.6319 GB, free: 108 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.01395, allocations: 227.7 kB / 0.6322 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01395, allocations: 3.938 kB / 0.6322 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01406, allocations: 119.8 kB / 0.6323 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.01425, allocations: 44.47 kB / 0.6323 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.01481, allocations: 0.5692 MB / 0.6329 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.01489, allocations: 151 kB / 0.633 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.01497, allocations: 60.41 kB / 0.6331 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.01497, allocations: 0 / 0.6331 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.004598/0.01957, allocations: 4.991 MB / 0.6379 GB, free: 9.949 MB / 0.6042 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.234775623306632] Failed to read output from testmodel.py, exit status != 0: 0.023670485243201256 0.031588034 0.02377154 Calling exit ...