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.008211/0.008211, allocations: 100.4 kB / 15.73 MB, free: 5.977 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.001236/0.001236, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002477/0.002477, allocations: 274.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9653/0.9653, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 95.62 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1535, allocations: 86.98 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003216/0.1567, allocations: 1.874 MB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.159, allocations: 1.577 MB / 0.7693 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1591, allocations: 4 kB / 0.7693 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.1594, allocations: 23.78 kB / 0.7693 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1597, allocations: 79.53 kB / 0.7694 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.1602, allocations: 174.5 kB / 0.7696 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.1605, allocations: 277.4 kB / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1607, allocations: 40.84 kB / 0.7699 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1608, allocations: 95.75 kB / 0.77 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.161, allocations: 107.7 kB / 0.7701 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.1611, allocations: 27.92 kB / 0.7701 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1613, allocations: 79.97 kB / 0.7702 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1614, allocations: 87.8 kB / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1615, allocations: 127.3 kB / 0.7704 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.1619, allocations: 322.9 kB / 0.7707 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.162, allocations: 3.984 kB / 0.7707 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.113e-06/0.162, allocations: 7.938 kB / 0.7707 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.162, allocations: 0 / 0.7707 GB, free: 4.008 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.0008009/0.1628, allocations: 0.55 MB / 0.7712 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1628, allocations: 8.031 kB / 0.7712 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.1629, allocations: 54.73 kB / 0.7713 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1631, allocations: 40.55 kB / 0.7713 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1634, allocations: 278.7 kB / 0.7716 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1634, allocations: 16.38 kB / 0.7716 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.1634, allocations: 23.88 kB / 0.7716 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.1638, allocations: 236.9 kB / 0.7719 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.1638, allocations: 0 / 0.7719 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1638, allocations: 8 kB / 0.7719 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1639, allocations: 4 kB / 0.7719 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.1647, allocations: 0.7529 MB / 0.7726 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.1657, allocations: 0.6292 MB / 0.7732 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.1661, allocations: 306 kB / 0.7735 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.1663, allocations: 105.4 kB / 0.7736 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.1663, allocations: 36.17 kB / 0.7736 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.1667, allocations: 176.6 kB / 0.7738 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.1667, allocations: 4 kB / 0.7738 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.0006392/0.1674, allocations: 381.4 kB / 0.7742 GB, free: 244 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.1674, allocations: 132.5 kB / 0.7743 GB, free: 80 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3019/0.4693, allocations: 303.7 kB / 0.7746 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/0.4694, allocations: 34.83 kB / 0.7746 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.4695, allocations: 137.3 kB / 0.7748 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.4696, allocations: 115.8 kB / 0.7749 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.4697, allocations: 64.41 kB / 0.7749 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.4698, allocations: 340.7 kB / 0.7753 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.47, allocations: 82.3 kB / 0.7753 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.4702, allocations: 126.4 kB / 0.7755 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.4705, allocations: 214.3 kB / 0.7757 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4706, allocations: 0.8125 kB / 0.7757 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005277/0.4711, allocations: 280.8 kB / 0.7759 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4711, allocations: 8.844 kB / 0.7759 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4711, allocations: 0 / 0.7759 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.4712, allocations: 6.219 kB / 0.7759 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.4715, allocations: 64.44 kB / 0.776 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4715, allocations: 1.312 kB / 0.776 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.4717, allocations: 27.14 kB / 0.776 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.4717, allocations: 13.58 kB / 0.776 GB, free: 14.69 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.0001829/0.4719, allocations: 162.4 kB / 0.7762 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.472, allocations: 31.8 kB / 0.7762 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.4727, allocations: 390.5 kB / 0.7766 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.4727, allocations: 4.719 kB / 0.7766 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4727, allocations: 2.609 kB / 0.7766 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4727, allocations: 1.594 kB / 0.7766 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.4731, allocations: 345.2 kB / 0.7769 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4731, allocations: 0.625 kB / 0.7769 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.4733, allocations: 57.5 kB / 0.777 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4733, allocations: 1.688 kB / 0.777 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.4734, allocations: 18.72 kB / 0.777 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4734, allocations: 1.875 kB / 0.777 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4734, allocations: 2.188 kB / 0.777 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.4739, allocations: 332.3 kB / 0.7773 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.4741, allocations: 141 kB / 0.7775 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.4741, allocations: 15.36 kB / 0.7775 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4743, allocations: 24.73 kB / 0.7775 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.4744, allocations: 22.47 kB / 0.7775 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.4744, allocations: 15.86 kB / 0.7775 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002138/0.4746, allocations: 238.7 kB / 0.7778 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4746, allocations: 0.7812 kB / 0.7778 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003155/0.4749, allocations: 65.02 kB / 0.7778 GB, free: 13.91 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.001417/0.4764, allocations: 1.175 MB / 0.779 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.4768, allocations: 239.5 kB / 0.7792 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4768, allocations: 0 / 0.7792 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.477, allocations: 131.2 kB / 0.7793 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.4773, allocations: 39.5 kB / 0.7794 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.4801, allocations: 2.518 MB / 0.7818 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.4804, allocations: 0.7657 MB / 0.7826 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003754/0.4808, allocations: 145.2 kB / 0.7827 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4809, allocations: 103.2 kB / 0.7828 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.4809, allocations: 0 / 0.7828 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.5067, allocations: 6.136 MB / 0.7888 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.141, allocations: 22.08 kB / 0.7888 GB, free: 9.797 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)