Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001561/0.001561, allocations: 192.4 kB / 16.14 MB, free: 6.734 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4665, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002891/0.4694, allocations: 1.941 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.4713, allocations: 1.545 MB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.4714, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.4716, allocations: 23.84 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.4719, allocations: 67.75 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.4722, allocations: 151.2 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.4725, allocations: 261.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.4726, allocations: 31.36 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.4727, allocations: 91.69 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.4729, allocations: 99.7 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.4729, allocations: 12 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.4731, allocations: 79.95 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.4732, allocations: 79.73 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.4733, allocations: 119.2 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.4736, allocations: 311 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4736, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4737, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4737, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 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.00072/0.4744, allocations: 0.5579 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4744, allocations: 12.03 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.4745, allocations: 50.73 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.4746, allocations: 36.56 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.4749, allocations: 274.7 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4749, allocations: 16.38 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4749, allocations: 19.94 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.4753, allocations: 248.8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4753, allocations: 3.984 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.4754, allocations: 8 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4754, allocations: 8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.4762, allocations: 0.749 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.4771, allocations: 0.637 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.4775, allocations: 302 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.4777, allocations: 117.2 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.4778, allocations: 20.25 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.4781, allocations: 180.5 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.4781, allocations: 0 / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0006181/0.4787, allocations: 384.7 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.4788, allocations: 132.5 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.479, allocations: 312.9 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.4791, allocations: 33.7 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.4792, allocations: 136.6 kB / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.4792, allocations: 122.3 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.4793, allocations: 61.69 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4795, allocations: 338.8 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.4796, allocations: 79.95 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.4798, allocations: 127.2 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.4801, allocations: 218.3 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4801, allocations: 4 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004183/0.4805, allocations: 285 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4805, allocations: 7.938 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4806, allocations: 3.938 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.4806, allocations: 0 / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.4808, allocations: 59.95 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4808, allocations: 7.938 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.4809, allocations: 27.78 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.481, allocations: 11.98 kB / 1.027 GB, free: 8.164 MB / 0.7794 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.0001437/0.4811, allocations: 161.8 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.4812, allocations: 35.59 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.4818, allocations: 384.8 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4818, allocations: 4 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4818, allocations: 0 / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4818, allocations: 3.984 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.4821, allocations: 349.3 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4821, allocations: 0 / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.4823, allocations: 59.92 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.4823, allocations: 7.922 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4823, allocations: 8 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4823, allocations: 4 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4823, allocations: 0 / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.4828, allocations: 325.5 kB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.4829, allocations: 144.7 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.483, allocations: 11.94 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.4831, allocations: 23.97 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.4832, allocations: 24.02 kB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.4832, allocations: 23.97 kB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001904/0.4834, allocations: 228.5 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4834, allocations: 0 / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002837/0.4837, allocations: 79.83 kB / 1.029 GB, free: 6.223 MB / 0.7794 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.001404/0.4851, allocations: 1.169 MB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.4855, allocations: 227.7 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4855, allocations: 0 / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4857, allocations: 127.8 kB / 1.03 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.486, allocations: 47.22 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.4887, allocations: 2.601 MB / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.489, allocations: 0.7616 MB / 1.033 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002995/0.4893, allocations: 155 kB / 1.034 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.4894, allocations: 99.39 kB / 1.034 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.4894, allocations: 3.938 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.956/2.446, allocations: 5.719 MB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/2.446, allocations: 287.8 kB / 1.039 GB, free: 11.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/4.103, allocations: 0 / 1.039 GB, free: 11.14 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)