Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0008637/0.0008638, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005036/0.005037, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.242/2.242, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4925, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004605/0.4971, allocations: 4.383 MB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1289/0.626, allocations: 146.7 MB / 1.171 GB, free: 8.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.6266, allocations: 15.94 kB / 1.171 GB, free: 8.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.6271, allocations: 146.8 kB / 1.171 GB, free: 8.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.6284, allocations: 469 kB / 1.171 GB, free: 7.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.6299, allocations: 0.7114 MB / 1.172 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.6311, allocations: 1.269 MB / 1.173 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.6318, allocations: 0.5516 MB / 1.174 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.6323, allocations: 342.4 kB / 1.174 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.6328, allocations: 385.9 kB / 1.174 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.6329, allocations: 28 kB / 1.174 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.6335, allocations: 367.6 kB / 1.175 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.6337, allocations: 179.1 kB / 1.175 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.634, allocations: 470.9 kB / 1.175 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.6352, allocations: 1.475 MB / 1.177 GB, free: 1.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.6352, allocations: 0 / 1.177 GB, free: 1.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6353, allocations: 0 / 1.177 GB, free: 1.801 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6353, allocations: 0 / 1.177 GB, free: 1.801 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001869/0.6371, allocations: 1.212 MB / 1.178 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.6372, allocations: 12.03 kB / 1.178 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.6373, allocations: 135.3 kB / 1.178 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007963/0.6381, allocations: 199.4 kB / 1.178 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.639, allocations: 0.7303 MB / 1.179 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.639, allocations: 61.98 kB / 1.179 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6391, allocations: 76 kB / 1.179 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.6405, allocations: 0.9105 MB / 1.18 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.6405, allocations: 3.938 kB / 1.18 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.6406, allocations: 36 kB / 1.18 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6406, allocations: 24 kB / 1.18 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.6422, allocations: 1.104 MB / 1.181 GB, free: 13.16 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.003314/0.6455, allocations: 2.705 MB / 1.184 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.6468, allocations: 0.8767 MB / 1.185 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.6473, allocations: 301.3 kB / 1.185 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.6474, allocations: 48.52 kB / 1.185 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/0.6481, allocations: 483.2 kB / 1.186 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 1.723e-06/0.6482, allocations: 0 / 1.186 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002773/0.6509, allocations: 1.205 MB / 1.187 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.651, allocations: 188.6 kB / 1.187 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.6517, allocations: 0.6253 MB / 1.188 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.6517, allocations: 41.7 kB / 1.188 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.652, allocations: 384.4 kB / 1.188 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.6522, allocations: 260.3 kB / 1.188 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.6522, allocations: 61.69 kB / 1.188 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6524, allocations: 390.7 kB / 1.189 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.6528, allocations: 241.9 kB / 1.189 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.6534, allocations: 366.5 kB / 1.189 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/0.6543, allocations: 0.5838 MB / 1.19 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6543, allocations: 0 / 1.19 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001672/0.656, allocations: 0.7942 MB / 1.191 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.656, allocations: 4 kB / 1.191 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.656, allocations: 0 / 1.191 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.6566, allocations: 88.86 kB / 1.191 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.6572, allocations: 155.7 kB / 1.191 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.659, allocations: 1.522 MB / 1.192 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.6595, allocations: 99.44 kB / 1.192 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.6596, allocations: 31.98 kB / 1.192 GB, free: 1.316 MB / 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003237/0.6599, allocations: 267.3 kB / 1.193 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6601, allocations: 90.98 kB / 1.193 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.6622, allocations: 1.061 MB / 1.194 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6622, allocations: 8 kB / 1.194 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.6623, allocations: 0 / 1.194 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6623, allocations: 7.984 kB / 1.194 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.665, allocations: 1.918 MB / 1.196 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.665, allocations: 0 / 1.196 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.6655, allocations: 151.7 kB / 1.196 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.666, allocations: 88.77 kB / 1.196 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.6661, allocations: 19.98 kB / 1.196 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.6677, allocations: 1.54 MB / 1.197 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.6677, allocations: 4.047 kB / 1.197 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.6694, allocations: 0.996 MB / 1.198 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.6697, allocations: 287.6 kB / 1.199 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/0.6698, allocations: 24 kB / 1.199 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006301/0.6704, allocations: 79.92 kB / 1.199 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6706, allocations: 72.84 kB / 1.199 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.6706, allocations: 31.97 kB / 1.199 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004611/0.6711, allocations: 451 kB / 1.199 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6711, allocations: 4 kB / 1.199 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006542/0.6718, allocations: 315.2 kB / 1.2 GB, free: 9.672 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002984/0.6748, allocations: 2.054 MB / 1.202 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.6761, allocations: 0.804 MB / 1.202 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6761, allocations: 0 / 1.202 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.6769, allocations: 0.5081 MB / 1.203 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6781, allocations: 271 kB / 1.203 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00959/0.6877, allocations: 6.774 MB / 1.21 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.6882, allocations: 1.019 MB / 1.211 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006761/0.6889, allocations: 262.6 kB / 1.211 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.6893, allocations: 375.2 kB / 1.211 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.6893, allocations: 4 kB / 1.211 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.7229, allocations: 20.01 MB / 1.231 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.7231, allocations: 319.9 kB / 1.231 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.857, allocations: 0 / 1.231 GB, free: 9.641 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)