Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001444/0.001444, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001996/0.001996, allocations: 216.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002595/0.002595, allocations: 289.1 kB / 313.5 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.269/1.269, allocations: 180.6 MB / 0.5377 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003083/0.003083, allocations: 105.7 kB / 0.7407 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1959, allocations: 95.38 MB / 0.8339 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004058/0.2, allocations: 1.887 MB / 0.8357 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.203, allocations: 1.773 MB / 0.8375 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2031, allocations: 7.938 kB / 0.8375 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.2033, allocations: 31.77 kB / 0.8375 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.2038, allocations: 119.4 kB / 0.8376 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.2042, allocations: 179.6 kB / 0.8378 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.2046, allocations: 297.2 kB / 0.8381 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2047, allocations: 29.02 kB / 0.8381 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2048, allocations: 103.8 kB / 0.8382 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.2051, allocations: 103.6 kB / 0.8383 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.2051, allocations: 20 kB / 0.8383 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.2054, allocations: 123.9 kB / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2055, allocations: 87.8 kB / 0.8385 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2056, allocations: 111.4 kB / 0.8386 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.2061, allocations: 374.5 kB / 0.839 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2061, allocations: 0 / 0.839 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2061, allocations: 0 / 0.839 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.2061, allocations: 0 / 0.839 GB, free: 2.52 MB / 0.5762 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.0008788/0.207, allocations: 0.5232 MB / 0.8395 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.207, allocations: 8.75 kB / 0.8395 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.2072, allocations: 40.69 kB / 0.8395 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.2075, allocations: 225.1 kB / 0.8397 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2076, allocations: 8.375 kB / 0.8397 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.2076, allocations: 24.12 kB / 0.8398 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.2081, allocations: 373.3 kB / 0.8401 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2081, allocations: 0 / 0.8401 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.2081, allocations: 8 kB / 0.8401 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.2082, allocations: 7.938 kB / 0.8401 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009271/0.2091, allocations: 0.6982 MB / 0.8408 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2102, allocations: 0.5353 MB / 0.8413 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.2107, allocations: 286.5 kB / 0.8416 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.2109, allocations: 109.3 kB / 0.8417 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.2109, allocations: 16.27 kB / 0.8417 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.2114, allocations: 228.8 kB / 0.842 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.2114, allocations: 0 / 0.842 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.0007609/0.2121, allocations: 391 kB / 0.8423 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.2122, allocations: 136.5 kB / 0.8425 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.2126, allocations: 325 kB / 0.8428 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.2127, allocations: 29.7 kB / 0.8428 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.2128, allocations: 140.7 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.2129, allocations: 119 kB / 0.843 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.213, allocations: 65.69 kB / 0.8431 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.2132, allocations: 338.8 kB / 0.8434 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2134, allocations: 83.94 kB / 0.8435 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.2136, allocations: 204.3 kB / 0.8437 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.214, allocations: 213.4 kB / 0.8439 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.214, allocations: 4 kB / 0.8439 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004818/0.2144, allocations: 285.2 kB / 0.8442 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2145, allocations: 4 kB / 0.8442 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2145, allocations: 0 / 0.8442 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.2145, allocations: 7.938 kB / 0.8442 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.2147, allocations: 59.97 kB / 0.8443 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.2147, allocations: 3.938 kB / 0.8443 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.2149, allocations: 29.94 kB / 0.8443 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.2149, allocations: 16 kB / 0.8443 GB, free: 12.78 MB / 0.5919 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.0001906/0.2151, allocations: 166.5 kB / 0.8445 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.2152, allocations: 35.78 kB / 0.8445 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.2159, allocations: 380.9 kB / 0.8449 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.2159, allocations: 7.938 kB / 0.8449 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2159, allocations: 0 / 0.8449 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2159, allocations: 0 / 0.8449 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.2163, allocations: 253 kB / 0.8451 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2163, allocations: 0 / 0.8451 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2164, allocations: 59.91 kB / 0.8452 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2164, allocations: 0 / 0.8452 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2165, allocations: 12 kB / 0.8452 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2165, allocations: 4 kB / 0.8452 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2165, allocations: 3.938 kB / 0.8452 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.217, allocations: 346.2 kB / 0.8455 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2172, allocations: 71.69 kB / 0.8456 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.2172, allocations: 8 kB / 0.8456 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2174, allocations: 23.97 kB / 0.8456 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.2175, allocations: 31.89 kB / 0.8456 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.2175, allocations: 11.98 kB / 0.8457 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002624/0.2178, allocations: 248.4 kB / 0.8459 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2178, allocations: 3.938 kB / 0.8459 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003632/0.2181, allocations: 75.88 kB / 0.846 GB, free: 11 MB / 0.5919 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.001814/0.2199, allocations: 497.5 kB / 0.8464 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.2205, allocations: 219.7 kB / 0.8467 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2205, allocations: 0 / 0.8467 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.2207, allocations: 124.7 kB / 0.8468 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.221, allocations: 43.11 kB / 0.8468 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.222, allocations: 0.5703 MB / 0.8474 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.2222, allocations: 163.4 kB / 0.8475 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2223, allocations: 55.41 kB / 0.8476 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.2223, allocations: 0 / 0.8476 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of Templates: time 0.0087/0.231, allocations: 4.959 MB / 0.8524 GB, free: 4.562 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.505946303717792] Failed to read output from testmodel.py, exit status != 0: 0.23935635015368462 0.255141852 0.045832086 Calling exit ...