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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007634/0.007634, allocations: 99.95 kB / 15.73 MB, free: 6.066 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.001961/0.001961, allocations: 189.4 kB / 16.67 MB, free: 5.977 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 287 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004267/0.004267, allocations: 96.08 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1878, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003321/0.1912, allocations: 1.881 MB / 0.7677 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1935, allocations: 1.577 MB / 0.7693 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.1936, allocations: 0 / 0.7693 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1938, allocations: 31.78 kB / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.1942, allocations: 83.53 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1946, allocations: 174.2 kB / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.195, allocations: 281.4 kB / 0.7698 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1951, allocations: 44.78 kB / 0.7699 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1952, allocations: 87.83 kB / 0.77 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1954, allocations: 111.6 kB / 0.7701 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.1955, allocations: 23.94 kB / 0.7701 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1957, allocations: 79.97 kB / 0.7702 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1958, allocations: 87.8 kB / 0.7702 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1959, allocations: 123.2 kB / 0.7704 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.1963, allocations: 330.7 kB / 0.7707 GB, free: 4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1963, allocations: 0 / 0.7707 GB, free: 4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1963, allocations: 0 / 0.7707 GB, free: 4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1963, allocations: 0 / 0.7707 GB, free: 4 MB / 0.5606 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.0008316/0.1972, allocations: 0.569 MB / 0.7712 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1972, allocations: 12.03 kB / 0.7712 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.1973, allocations: 50.73 kB / 0.7713 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1975, allocations: 36.75 kB / 0.7713 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.1978, allocations: 274.9 kB / 0.7716 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1978, allocations: 16.38 kB / 0.7716 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.1979, allocations: 27.88 kB / 0.7716 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.1983, allocations: 232.9 kB / 0.7719 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1983, allocations: 3.938 kB / 0.7719 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.1983, allocations: 8 kB / 0.7719 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1983, allocations: 7.938 kB / 0.7719 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009439/0.1993, allocations: 0.7529 MB / 0.7726 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.2004, allocations: 0.6293 MB / 0.7732 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.2009, allocations: 313.9 kB / 0.7735 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.2011, allocations: 105.4 kB / 0.7736 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.2011, allocations: 20.25 kB / 0.7736 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.2015, allocations: 196.5 kB / 0.7738 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.2015, allocations: 0 / 0.7738 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.0007193/0.2022, allocations: 377.7 kB / 0.7742 GB, free: 212 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.2023, allocations: 136.5 kB / 0.7743 GB, free: 44 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2732/0.4756, allocations: 299.5 kB / 0.7746 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.4757, allocations: 34.14 kB / 0.7746 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.4757, allocations: 134.2 kB / 0.7748 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/0.4758, allocations: 124.9 kB / 0.7749 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.476, allocations: 64.94 kB / 0.775 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.476, allocations: 340.7 kB / 0.7753 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4762, allocations: 82.73 kB / 0.7754 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.4764, allocations: 126.2 kB / 0.7755 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.4767, allocations: 214.7 kB / 0.7757 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4767, allocations: 0 / 0.7757 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004474/0.4772, allocations: 289.4 kB / 0.776 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4772, allocations: 6.75 kB / 0.776 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4772, allocations: 0.6562 kB / 0.776 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4773, allocations: 4.906 kB / 0.776 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.4775, allocations: 64.72 kB / 0.776 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4775, allocations: 1.688 kB / 0.776 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.4777, allocations: 29.41 kB / 0.7761 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.4777, allocations: 12.89 kB / 0.7761 GB, free: 14.62 MB / 0.5606 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.0001365/0.4779, allocations: 162.5 kB / 0.7762 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.4779, allocations: 25.05 kB / 0.7763 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.4786, allocations: 395 kB / 0.7766 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4786, allocations: 3.781 kB / 0.7766 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4786, allocations: 1.297 kB / 0.7766 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4786, allocations: 2.906 kB / 0.7766 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.4789, allocations: 344.3 kB / 0.777 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4789, allocations: 3.25 kB / 0.777 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4791, allocations: 61.84 kB / 0.777 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4791, allocations: 0.875 kB / 0.777 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.4791, allocations: 14.95 kB / 0.777 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4791, allocations: 2.609 kB / 0.777 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4791, allocations: 2.094 kB / 0.777 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.4796, allocations: 327 kB / 0.7774 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4797, allocations: 147 kB / 0.7775 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.4798, allocations: 10.53 kB / 0.7775 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.48, allocations: 21.31 kB / 0.7775 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.48, allocations: 27.89 kB / 0.7776 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.4801, allocations: 15.78 kB / 0.7776 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001868/0.4803, allocations: 238.2 kB / 0.7778 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4803, allocations: 0 / 0.7778 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003739/0.4806, allocations: 68.59 kB / 0.7779 GB, free: 13.86 MB / 0.5606 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.001828/0.4825, allocations: 1.162 MB / 0.779 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.4829, allocations: 240.8 kB / 0.7792 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4829, allocations: 0 / 0.7792 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.4831, allocations: 130.3 kB / 0.7794 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.4834, allocations: 46.38 kB / 0.7794 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.486, allocations: 2.536 MB / 0.7819 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.4861, allocations: 0.7655 MB / 0.7826 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003178/0.4865, allocations: 151.8 kB / 0.7828 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.4866, allocations: 100.8 kB / 0.7829 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4866, allocations: 0 / 0.7829 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4174/0.904, allocations: 6.045 MB / 0.7888 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.13, allocations: 21.08 kB / 0.7888 GB, free: 9.77 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)