Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 196 kB / 16.53 MB, free: 6.664 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.199/2.199, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4668, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002341/0.4692, allocations: 1.607 MB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.47, allocations: 0.5338 MB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.47, allocations: 4 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.4701, allocations: 7.875 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.4703, allocations: 47.75 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.4704, allocations: 35.91 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.4706, allocations: 115.6 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.4707, allocations: 19.97 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.4708, allocations: 51.84 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4709, allocations: 55.83 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.4709, allocations: 8 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.4709, allocations: 8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.471, allocations: 19.92 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.471, allocations: 43.77 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.4711, allocations: 97.86 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.4711, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.51e-07/0.4712, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4712, allocations: 0 / 1.02 GB, free: 15.8 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006253/0.4718, allocations: 405 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.4718, allocations: 8.031 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.4719, allocations: 42.73 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.4719, allocations: 8.844 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.4721, allocations: 184.1 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4721, allocations: 4.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.4721, allocations: 12.36 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4722, allocations: 81.78 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4723, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4723, allocations: 7.984 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4723, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.754e-05/0.4724, allocations: 47.95 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.4728, allocations: 352.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.4731, allocations: 110.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.4732, allocations: 44.78 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.4732, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.4734, allocations: 99.3 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4734, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002855/0.4737, allocations: 149.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4737, allocations: 51.41 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.4738, allocations: 129.8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4738, allocations: 25.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.4739, allocations: 92.28 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.4739, allocations: 35.69 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.4739, allocations: 29.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.474, allocations: 326.8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.4741, allocations: 24 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.4741, allocations: 31.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4742, allocations: 68.72 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4743, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.4744, allocations: 109.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4744, allocations: 9.562 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.4744, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.4745, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.4746, allocations: 23.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4746, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.4747, allocations: 19.86 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4747, allocations: 4 kB / 1.022 GB, free: 13.08 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.547e-05/0.4748, allocations: 117.8 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.4748, allocations: 11.89 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.475, allocations: 146 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.475, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.4751, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4751, allocations: 7.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4752, allocations: 209.5 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4752, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.4753, allocations: 23.98 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4753, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.4753, allocations: 3.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4753, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4753, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.4756, allocations: 164.9 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.4756, allocations: 92.94 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.4756, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.4757, allocations: 11.92 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.4758, allocations: 15.92 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4758, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.4759, allocations: 104.1 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4759, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001903/0.4761, allocations: 24 kB / 1.023 GB, free: 12.04 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004175/0.4765, allocations: 0.7019 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.4767, allocations: 87.91 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4767, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.4768, allocations: 55.92 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.4769, allocations: 8.5 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.4782, allocations: 1.442 MB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.4784, allocations: 0.7002 MB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.4784, allocations: 12.53 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.4785, allocations: 35.42 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.4785, allocations: 0 / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2983/0.7768, allocations: 2.255 MB / 1.029 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.09, allocations: 14.38 kB / 1.029 GB, free: 6.734 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)