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.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.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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001214/0.001214, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.586 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.26/2.26, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4425, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002421/0.445, allocations: 1.675 MB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007215/0.4457, allocations: 0.5376 MB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.4458, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.4458, allocations: 7.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.446, allocations: 43.75 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.186e-05/0.4461, allocations: 23.98 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.4463, allocations: 111.6 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.4463, allocations: 23.97 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.39e-05/0.4464, allocations: 51.83 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.4465, allocations: 43.83 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4466, allocations: 4 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.4466, allocations: 4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.4466, allocations: 23.84 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.4467, allocations: 39.86 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.922e-05/0.4468, allocations: 89.86 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4468, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4468, allocations: 4 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4468, allocations: 4 kB / 1.019 GB, free: 100 kB / 0.7637 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.0006182/0.4474, allocations: 399.2 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.4475, allocations: 8.031 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.4475, allocations: 42.73 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.4475, allocations: 8.844 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.4477, allocations: 176.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4477, allocations: 8.375 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.4477, allocations: 4.375 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4479, allocations: 89.7 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.4479, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4479, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.4479, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.448, allocations: 51.89 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.4484, allocations: 352.5 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.4487, allocations: 98.73 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.4488, allocations: 44.83 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.4488, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.449, allocations: 111.2 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.449, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002825/0.4493, allocations: 141.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.4493, allocations: 55.41 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.4494, allocations: 129.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.4494, allocations: 29.64 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.4495, allocations: 92.28 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.4495, allocations: 39.69 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.4496, allocations: 25.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.4496, allocations: 322.8 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/0.4497, allocations: 27.98 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.4498, allocations: 27.98 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.4499, allocations: 65.97 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4499, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001645/0.4501, allocations: 110.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4501, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.4501, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.4501, allocations: 3.984 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4502, allocations: 19.92 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4502, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4503, allocations: 19.86 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4503, allocations: 0 / 1.022 GB, free: 13.38 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.348e-05/0.4504, allocations: 117.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.4504, allocations: 7.906 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.4507, allocations: 153.9 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4507, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4507, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4507, allocations: 3.938 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.4509, allocations: 213.5 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4509, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.451, allocations: 19.98 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.451, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.451, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.451, allocations: 3.938 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.451, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.4512, allocations: 170.8 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.4513, allocations: 92.94 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.4513, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4514, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.4515, allocations: 19.91 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4515, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.4515, allocations: 107.2 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4516, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001922/0.4518, allocations: 24 kB / 1.023 GB, free: 12.34 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.0004316/0.4522, allocations: 0.702 MB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.4524, allocations: 87.97 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.4524, allocations: 0 / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.4525, allocations: 47.92 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.4526, allocations: 18.28 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.4539, allocations: 1.47 MB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.4541, allocations: 0.7005 MB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.474e-05/0.4541, allocations: 8.547 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.4542, allocations: 31.42 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4542, allocations: 3.938 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.282/1.736, allocations: 2.093 MB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.736, allocations: 221.5 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/4.129, allocations: 0 / 1.028 GB, free: 6.961 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)