Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.0009029/0.0009029, allocations: 97.95 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.005002/0.005002, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.168/1.168, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.204/2.204, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4861, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00441/0.4905, allocations: 4.508 MB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1254/0.6159, allocations: 146.7 MB / 1.171 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005703/0.6165, allocations: 19.88 kB / 1.171 GB, free: 8.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.617, allocations: 154.8 kB / 1.171 GB, free: 7.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.6184, allocations: 483.6 kB / 1.171 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.6199, allocations: 0.7377 MB / 1.172 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.6211, allocations: 1.331 MB / 1.173 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.6219, allocations: 0.5556 MB / 1.174 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.6224, allocations: 374.2 kB / 1.174 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.6229, allocations: 409.8 kB / 1.175 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.623, allocations: 28 kB / 1.175 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.6236, allocations: 367.6 kB / 1.175 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.6238, allocations: 191.1 kB / 1.175 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.6242, allocations: 486.8 kB / 1.176 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.6255, allocations: 1.522 MB / 1.177 GB, free: 1.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6255, allocations: 3.938 kB / 1.177 GB, free: 1.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6255, allocations: 7.938 kB / 1.177 GB, free: 1.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.6255, allocations: 0 / 1.177 GB, free: 1.395 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002119/0.6276, allocations: 1.241 MB / 1.178 GB, free: 96 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6277, allocations: 16.02 kB / 1.179 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.6279, allocations: 139.5 kB / 1.179 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.6287, allocations: 199.4 kB / 1.179 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.6296, allocations: 0.7505 MB / 1.18 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.6297, allocations: 62 kB / 1.18 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6298, allocations: 87.98 kB / 1.18 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6312, allocations: 0.9456 MB / 1.181 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.6313, allocations: 0 / 1.181 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.6313, allocations: 36 kB / 1.181 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.6314, allocations: 27.94 kB / 1.181 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.633, allocations: 1.132 MB / 1.182 GB, free: 12.62 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.003518/0.6365, allocations: 2.787 MB / 1.185 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6379, allocations: 0.9085 MB / 1.185 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.6384, allocations: 322.7 kB / 1.186 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.6385, allocations: 32.69 kB / 1.186 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007909/0.6393, allocations: 0.5236 MB / 1.186 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.783e-06/0.6393, allocations: 0 / 1.186 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.002888/0.6422, allocations: 1.274 MB / 1.187 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.6423, allocations: 188.9 kB / 1.188 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.6429, allocations: 0.6411 MB / 1.188 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.643, allocations: 41.7 kB / 1.188 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.6433, allocations: 396.5 kB / 1.189 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.6434, allocations: 280 kB / 1.189 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.6435, allocations: 65.69 kB / 1.189 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6437, allocations: 386.8 kB / 1.189 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.6442, allocations: 257.9 kB / 1.19 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.6447, allocations: 370.5 kB / 1.19 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.6457, allocations: 0.6164 MB / 1.191 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6457, allocations: 0 / 1.191 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001679/0.6474, allocations: 0.8331 MB / 1.191 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6474, allocations: 7.938 kB / 1.191 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6474, allocations: 4 kB / 1.191 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.648, allocations: 84.8 kB / 1.192 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.6486, allocations: 167.8 kB / 1.192 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.6503, allocations: 1.533 MB / 1.193 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.651, allocations: 111.3 kB / 1.193 GB, free: 388 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.651, allocations: 31.98 kB / 1.193 GB, free: 356 kB / 0.9356 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,decAng.tNext,$PRE.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 (91): * Single equations (assignments): 90 * 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.0003124/0.6514, allocations: 269.6 kB / 1.194 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6515, allocations: 83.02 kB / 1.194 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.6537, allocations: 1.14 MB / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.6537, allocations: 12 kB / 1.195 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6538, allocations: 0 / 1.195 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6538, allocations: 7.922 kB / 1.195 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.6566, allocations: 2.035 MB / 1.197 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6566, allocations: 0 / 1.197 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.6572, allocations: 159.8 kB / 1.197 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/0.6577, allocations: 84.77 kB / 1.197 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.6577, allocations: 23.98 kB / 1.197 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.6593, allocations: 1.552 MB / 1.199 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6593, allocations: 0 / 1.199 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.6611, allocations: 1.051 MB / 1.2 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.6614, allocations: 295.6 kB / 1.2 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6615, allocations: 23.94 kB / 1.2 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.6622, allocations: 95.83 kB / 1.2 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6623, allocations: 72.89 kB / 1.2 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.6624, allocations: 39.97 kB / 1.2 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004608/0.6628, allocations: 467 kB / 1.201 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6628, allocations: 0 / 1.201 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006605/0.6635, allocations: 323.3 kB / 1.201 GB, free: 8.391 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.003036/0.6665, allocations: 2.125 MB / 1.203 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.6679, allocations: 0.8391 MB / 1.204 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6679, allocations: 0 / 1.204 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.6688, allocations: 0.551 MB / 1.204 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.6699, allocations: 277.5 kB / 1.205 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009843/0.6798, allocations: 7.058 MB / 1.211 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.6803, allocations: 1.036 MB / 1.212 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006885/0.681, allocations: 270.8 kB / 1.213 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.6814, allocations: 411.2 kB / 1.213 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.6815, allocations: 0 / 1.213 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.7146, allocations: 20.87 MB / 1.233 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.7149, allocations: 311.4 kB / 1.234 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.834, allocations: 0 / 1.234 GB, free: 6.957 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)