Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.001133/0.001133, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001195/0.001195, allocations: 194.1 kB / 16.25 MB, free: 6.633 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.212/2.212, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.89 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4962, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00573/0.5019, allocations: 5.385 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.6328, allocations: 148.6 MB / 1.167 GB, free: 8.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.6336, allocations: 15.94 kB / 1.167 GB, free: 8.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.6342, allocations: 162.7 kB / 1.167 GB, free: 8.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.6358, allocations: 0.5284 MB / 1.168 GB, free: 7.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.6375, allocations: 0.7961 MB / 1.169 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.6387, allocations: 1.561 MB / 1.17 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.6395, allocations: 0.6642 MB / 1.171 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.64, allocations: 0.5683 MB / 1.171 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.6405, allocations: 0.599 MB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.6407, allocations: 136 kB / 1.172 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.6414, allocations: 499.6 kB / 1.173 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.6416, allocations: 334.9 kB / 1.173 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004625/0.6421, allocations: 0.6569 MB / 1.174 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.6436, allocations: 1.815 MB / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6436, allocations: 0 / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.62e-07/0.6436, allocations: 0 / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.6436, allocations: 0 / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002365/0.646, allocations: 1.585 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.646, allocations: 8.031 kB / 1.177 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.6462, allocations: 156.5 kB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.647, allocations: 207.1 kB / 1.177 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.648, allocations: 0.801 MB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.648, allocations: 74.02 kB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.6482, allocations: 96 kB / 1.178 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.6498, allocations: 1.063 MB / 1.179 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.6498, allocations: 4 kB / 1.179 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.6499, allocations: 44 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.6499, allocations: 24 kB / 1.179 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.6517, allocations: 1.229 MB / 1.181 GB, free: 10.41 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.6557, allocations: 3.183 MB / 1.184 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6571, allocations: 0.8975 MB / 1.185 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.6577, allocations: 347.7 kB / 1.185 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.389e-05/0.6577, allocations: 33.03 kB / 1.185 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000893/0.6586, allocations: 0.5513 MB / 1.185 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=92): time 2.144e-06/0.6587, allocations: 0 / 1.185 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92): time 0.003071/0.6617, allocations: 1.345 MB / 1.187 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.6618, allocations: 196.9 kB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/0.6625, allocations: 0.6726 MB / 1.188 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.6626, allocations: 49.69 kB / 1.188 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.6629, allocations: 444.3 kB / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.6631, allocations: 291.8 kB / 1.188 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.6634, allocations: 174.4 kB / 1.188 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6635, allocations: 394.7 kB / 1.189 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.664, allocations: 281.9 kB / 1.189 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.6646, allocations: 406.5 kB / 1.19 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.6657, allocations: 0.6672 MB / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6657, allocations: 0 / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001842/0.6676, allocations: 0.9073 MB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6676, allocations: 9.406 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6676, allocations: 64 / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.6682, allocations: 92.72 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.6689, allocations: 175.7 kB / 1.191 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.6707, allocations: 1.654 MB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.6714, allocations: 99.23 kB / 1.193 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.6715, allocations: 31.97 kB / 1.193 GB, free: 13.1 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003411/0.6718, allocations: 283.4 kB / 1.193 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.672, allocations: 91.06 kB / 1.193 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.6745, allocations: 1.238 MB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6745, allocations: 12 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.6745, allocations: 0 / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6745, allocations: 7.984 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.6755, allocations: 1.013 MB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6755, allocations: 0 / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.6762, allocations: 163.7 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.6766, allocations: 76.78 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.6767, allocations: 31.97 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.6783, allocations: 1.654 MB / 1.198 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6783, allocations: 0 / 1.198 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.6802, allocations: 1.045 MB / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.6806, allocations: 299.5 kB / 1.199 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.6807, allocations: 27.98 kB / 1.199 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.6813, allocations: 69.56 kB / 1.199 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.6815, allocations: 84.88 kB / 1.199 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.975e-05/0.6816, allocations: 39.97 kB / 1.199 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005205/0.6821, allocations: 0.4912 MB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6821, allocations: 0 / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007566/0.6829, allocations: 371 kB / 1.2 GB, free: 5.871 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003267/0.6861, allocations: 2.12 MB / 1.202 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002328/0.6885, allocations: 1.136 MB / 1.203 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6885, allocations: 0 / 1.203 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.6894, allocations: 0.5705 MB / 1.204 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6905, allocations: 317.4 kB / 1.204 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.7014, allocations: 7.565 MB / 1.211 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.7019, allocations: 1.071 MB / 1.212 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008232/0.7028, allocations: 303.5 kB / 1.213 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.7033, allocations: 439.2 kB / 1.213 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.7033, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.638/2.341, allocations: 23.62 MB / 1.236 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/2.342, allocations: 319.1 kB / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/4.948, allocations: 3.234 kB / 1.236 GB, free: 0.6914 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)