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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 104.8 kB / 16.41 MB, free: 6.5 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.001189/0.001189, allocations: 187 kB / 17.34 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 292.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9573/0.9573, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 103.8 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5023, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003683/0.5061, allocations: 1.865 MB / 0.7689 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.5087, allocations: 1.585 MB / 0.7704 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.5089, allocations: 0 / 0.7704 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.5092, allocations: 31.78 kB / 0.7705 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.5096, allocations: 79.55 kB / 0.7705 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.5102, allocations: 179.9 kB / 0.7707 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.5106, allocations: 277.4 kB / 0.771 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.5107, allocations: 40.83 kB / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.5109, allocations: 95.75 kB / 0.7711 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.5112, allocations: 107.7 kB / 0.7712 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.5112, allocations: 24 kB / 0.7712 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.5115, allocations: 79.98 kB / 0.7713 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.5116, allocations: 95.72 kB / 0.7714 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.5118, allocations: 115.3 kB / 0.7715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.5124, allocations: 333.6 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5124, allocations: 3.938 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5124, allocations: 3.938 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.5124, allocations: 0 / 0.7718 GB, free: 15.06 MB / 0.545 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.001033/0.5134, allocations: 0.5578 MB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.5135, allocations: 16.03 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.5137, allocations: 32.64 kB / 0.7724 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.5141, allocations: 274.7 kB / 0.7727 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.5141, allocations: 12.38 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.5142, allocations: 20.12 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.5147, allocations: 236.9 kB / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5147, allocations: 0 / 0.7729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.5147, allocations: 16 kB / 0.773 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5147, allocations: 4 kB / 0.773 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.5157, allocations: 0.749 MB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.517, allocations: 0.6292 MB / 0.7743 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.5175, allocations: 310 kB / 0.7746 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.5177, allocations: 105.4 kB / 0.7747 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.5178, allocations: 24.23 kB / 0.7747 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/0.5182, allocations: 179.4 kB / 0.7749 GB, free: 11.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 4.138e-06/0.5182, allocations: 0 / 0.7749 GB, free: 11.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0007809/0.519, allocations: 382.8 kB / 0.7753 GB, free: 11.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5191, allocations: 132.5 kB / 0.7754 GB, free: 11.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.5195, allocations: 313 kB / 0.7757 GB, free: 10.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.5196, allocations: 33.7 kB / 0.7757 GB, free: 10.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5197, allocations: 136.5 kB / 0.7758 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.5198, allocations: 122.2 kB / 0.776 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5199, allocations: 65.69 kB / 0.776 GB, free: 10.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5201, allocations: 342.8 kB / 0.7764 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5203, allocations: 83.81 kB / 0.7764 GB, free: 10.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.5205, allocations: 129.7 kB / 0.7766 GB, free: 9.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.5208, allocations: 213.1 kB / 0.7768 GB, free: 9.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5208, allocations: 0 / 0.7768 GB, free: 9.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00046/0.5213, allocations: 277.2 kB / 0.777 GB, free: 9.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.5213, allocations: 11.98 kB / 0.777 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.5214, allocations: 3.938 kB / 0.777 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5214, allocations: 3.938 kB / 0.777 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.5216, allocations: 55.97 kB / 0.7771 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5216, allocations: 4 kB / 0.7771 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.5218, allocations: 27.83 kB / 0.7771 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.5218, allocations: 15.94 kB / 0.7771 GB, free: 9.352 MB / 0.545 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.000184/0.522, allocations: 160.2 kB / 0.7773 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.5221, allocations: 27.62 kB / 0.7773 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.5228, allocations: 404.5 kB / 0.7777 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5228, allocations: 4 kB / 0.7777 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5228, allocations: 0 / 0.7777 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5228, allocations: 0 / 0.7777 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.5232, allocations: 341.3 kB / 0.778 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5232, allocations: 4 kB / 0.778 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.5234, allocations: 63.91 kB / 0.7781 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5234, allocations: 4 kB / 0.7781 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.5234, allocations: 11.98 kB / 0.7781 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5234, allocations: 0 / 0.7781 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5234, allocations: 3.984 kB / 0.7781 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.5239, allocations: 325.6 kB / 0.7784 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.5241, allocations: 140.7 kB / 0.7786 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.5241, allocations: 15.88 kB / 0.7786 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.5243, allocations: 31.91 kB / 0.7786 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.5244, allocations: 23.97 kB / 0.7786 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.5244, allocations: 15.98 kB / 0.7786 GB, free: 7.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002299/0.5247, allocations: 236.4 kB / 0.7789 GB, free: 7.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5247, allocations: 0 / 0.7789 GB, free: 7.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003091/0.525, allocations: 63.94 kB / 0.7789 GB, free: 7.41 MB / 0.545 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.0009458/0.526, allocations: 403.2 kB / 0.7793 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.5264, allocations: 240.1 kB / 0.7795 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5264, allocations: 0 / 0.7795 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.5266, allocations: 135.7 kB / 0.7797 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5269, allocations: 48.39 kB / 0.7797 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.5279, allocations: 0.558 MB / 0.7803 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.5282, allocations: 0.7614 MB / 0.781 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.5284, allocations: 51.42 kB / 0.7811 GB, free: 5.312 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.5284, allocations: 0 / 0.7811 GB, free: 5.312 MB / 0.545 GB Notification: Performance of Templates: time 0.00805/0.5364, allocations: 4.542 MB / 0.7855 GB, free: 0.7969 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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)