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.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.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.000864/0.0008641, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004697/0.004697, allocations: 170.1 kB / 16.27 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.222/2.222, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002836, allocations: 8 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4824, allocations: 153.8 MB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00493/0.4874, allocations: 4.943 MB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.129/0.6164, allocations: 146.9 MB / 1.171 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/0.6171, allocations: 19.88 kB / 1.171 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.6176, allocations: 162.8 kB / 1.172 GB, free: 7.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.6191, allocations: 0.515 MB / 1.172 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.6207, allocations: 0.7741 MB / 1.173 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.6221, allocations: 1.448 MB / 1.174 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008254/0.6229, allocations: 0.6396 MB / 1.175 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.6235, allocations: 410 kB / 1.175 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.624, allocations: 453.5 kB / 1.176 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.6241, allocations: 35.94 kB / 1.176 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.6248, allocations: 391.6 kB / 1.176 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.625, allocations: 206.9 kB / 1.176 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.6255, allocations: 0.5258 MB / 1.177 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.6269, allocations: 1.697 MB / 1.178 GB, free: 52 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.6269, allocations: 0 / 1.178 GB, free: 52 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6269, allocations: 0 / 1.178 GB, free: 52 kB / 0.92 GB Notification: Performance of Transformations before backend: time 2.422e-05/0.627, allocations: 4 kB / 1.178 GB, free: 48 kB / 0.92 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.002269/0.6292, allocations: 1.343 MB / 1.18 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.6293, allocations: 8.031 kB / 1.18 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.6295, allocations: 160.5 kB / 1.18 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/0.6303, allocations: 215.2 kB / 1.18 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.6313, allocations: 0.7933 MB / 1.181 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.6314, allocations: 78 kB / 1.181 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.6315, allocations: 104 kB / 1.181 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.6332, allocations: 1.075 MB / 1.182 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.6332, allocations: 0 / 1.182 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/0.6333, allocations: 44 kB / 1.182 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.6333, allocations: 24 kB / 1.182 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.6351, allocations: 1.233 MB / 1.183 GB, free: 10.81 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.004164/0.6393, allocations: 3.223 MB / 1.187 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.6407, allocations: 0.9053 MB / 1.187 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.6413, allocations: 351.6 kB / 1.188 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.6414, allocations: 37.02 kB / 1.188 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008544/0.6423, allocations: 0.5551 MB / 1.188 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=92): time 1.763e-06/0.6423, allocations: 4 kB / 1.188 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92): time 0.003041/0.6453, allocations: 1.36 MB / 1.19 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.6454, allocations: 192.9 kB / 1.19 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.6462, allocations: 0.6765 MB / 1.191 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.6462, allocations: 41.7 kB / 1.191 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.6465, allocations: 452.3 kB / 1.191 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.6467, allocations: 299.7 kB / 1.191 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.6468, allocations: 65.69 kB / 1.191 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.647, allocations: 394.7 kB / 1.192 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.6475, allocations: 289.8 kB / 1.192 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/0.6481, allocations: 406.5 kB / 1.192 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.6492, allocations: 0.675 MB / 1.193 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6492, allocations: 0 / 1.193 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001809/0.651, allocations: 0.9227 MB / 1.194 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.651, allocations: 8 kB / 1.194 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6511, allocations: 4.062 kB / 1.194 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.6516, allocations: 80.77 kB / 1.194 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.6523, allocations: 179.7 kB / 1.194 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2145/0.8668, allocations: 1.537 MB / 1.196 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.8677, allocations: 108.8 kB / 1.196 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.8677, allocations: 39.97 kB / 1.196 GB, free: 13.61 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.0004072/0.8682, allocations: 279.4 kB / 1.196 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.8683, allocations: 94.86 kB / 1.196 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.8706, allocations: 1.242 MB / 1.197 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.8707, allocations: 15.94 kB / 1.197 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.8707, allocations: 0 / 1.197 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.8707, allocations: 3.984 kB / 1.197 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.8716, allocations: 1.009 MB / 1.198 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.8717, allocations: 0 / 1.198 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.8723, allocations: 183.7 kB / 1.199 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/0.8727, allocations: 80.77 kB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.8728, allocations: 31.98 kB / 1.199 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.8744, allocations: 1.548 MB / 1.2 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8744, allocations: 0 / 1.2 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.8762, allocations: 1.057 MB / 1.201 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.8766, allocations: 311.4 kB / 1.202 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.8767, allocations: 20 kB / 1.202 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.8774, allocations: 97.61 kB / 1.202 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.8775, allocations: 84.81 kB / 1.202 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.8776, allocations: 39.97 kB / 1.202 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005296/0.8781, allocations: 499 kB / 1.202 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8781, allocations: 4 kB / 1.202 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000706/0.8788, allocations: 371 kB / 1.203 GB, free: 6.418 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.003185/0.882, allocations: 2.124 MB / 1.205 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.8836, allocations: 0.9054 MB / 1.206 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8836, allocations: 8.172 kB / 1.206 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.8845, allocations: 0.5782 MB / 1.206 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.8856, allocations: 281.8 kB / 1.206 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.8964, allocations: 7.606 MB / 1.214 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.8969, allocations: 1.074 MB / 1.215 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008092/0.8978, allocations: 303.6 kB / 1.215 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.8983, allocations: 451.2 kB / 1.216 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of SimCode: time 1.472e-06/0.8983, allocations: 0 / 1.216 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.806/4.704, allocations: 22.62 MB / 1.238 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/4.704, allocations: 327.8 kB / 1.238 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/7.751, allocations: 0 / 1.238 GB, free: 2.43 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)