Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_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.0008375/0.0008375, allocations: 91.84 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.004862/0.004862, allocations: 170 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.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.211/2.211, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002692, allocations: 8 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4919, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004393/0.4963, allocations: 4.41 MB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1249/0.6212, allocations: 146.7 MB / 1.171 GB, free: 8.172 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.6218, allocations: 15.94 kB / 1.171 GB, free: 8.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.6222, allocations: 154.8 kB / 1.171 GB, free: 8.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.6235, allocations: 461.7 kB / 1.171 GB, free: 7.555 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.625, allocations: 0.7381 MB / 1.172 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.6261, allocations: 1.288 MB / 1.173 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000711/0.6269, allocations: 0.5554 MB / 1.174 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.6273, allocations: 354.3 kB / 1.174 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.6278, allocations: 385.9 kB / 1.175 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.6279, allocations: 24 kB / 1.175 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.6285, allocations: 371.6 kB / 1.175 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.6287, allocations: 183.1 kB / 1.175 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.629, allocations: 470.9 kB / 1.176 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.6302, allocations: 1.507 MB / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6302, allocations: 0 / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6302, allocations: 0 / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6302, allocations: 4 kB / 1.177 GB, free: 1.68 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001849/0.6321, allocations: 1.208 MB / 1.178 GB, free: 424 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.6321, allocations: 12.03 kB / 1.178 GB, free: 412 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.6323, allocations: 131.4 kB / 1.178 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.6331, allocations: 199.4 kB / 1.178 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008464/0.6339, allocations: 0.7381 MB / 1.179 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.634, allocations: 66 kB / 1.179 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.996e-05/0.6341, allocations: 80 kB / 1.179 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6354, allocations: 0.9262 MB / 1.18 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.6354, allocations: 0 / 1.18 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.6355, allocations: 39.94 kB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.6355, allocations: 20 kB / 1.18 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.6371, allocations: 1.116 MB / 1.181 GB, free: 13.01 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.003353/0.6405, allocations: 2.774 MB / 1.184 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6418, allocations: 0.896 MB / 1.185 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.6423, allocations: 310.7 kB / 1.185 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/0.6424, allocations: 32.61 kB / 1.185 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007447/0.6432, allocations: 0.4913 MB / 1.186 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 1.774e-06/0.6432, allocations: 0 / 1.186 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002696/0.6459, allocations: 1.205 MB / 1.187 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.646, allocations: 192.6 kB / 1.187 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.6466, allocations: 0.6214 MB / 1.188 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.6467, allocations: 45.7 kB / 1.188 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.6469, allocations: 396.4 kB / 1.188 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.6471, allocations: 256.3 kB / 1.188 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.6471, allocations: 57.69 kB / 1.188 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6473, allocations: 386.7 kB / 1.189 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.6477, allocations: 253.9 kB / 1.189 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.6483, allocations: 370.4 kB / 1.189 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/0.6492, allocations: 0.5877 MB / 1.19 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6492, allocations: 0 / 1.19 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001598/0.6508, allocations: 0.8059 MB / 1.191 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6509, allocations: 4.094 kB / 1.191 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6509, allocations: 4 kB / 1.191 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.6514, allocations: 92.66 kB / 1.191 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.652, allocations: 151.8 kB / 1.191 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.6537, allocations: 1.544 MB / 1.193 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.6543, allocations: 95.33 kB / 1.193 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.6543, allocations: 27.97 kB / 1.193 GB, free: 1.004 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.0002974/0.6546, allocations: 265.7 kB / 1.193 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6548, allocations: 86.91 kB / 1.193 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.6569, allocations: 1.069 MB / 1.194 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.6569, allocations: 8 kB / 1.194 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.6569, allocations: 0 / 1.194 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.6569, allocations: 8.016 kB / 1.194 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.6596, allocations: 1.985 MB / 1.196 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6596, allocations: 0 / 1.196 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.6602, allocations: 147.8 kB / 1.196 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/0.6607, allocations: 88.7 kB / 1.196 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.6607, allocations: 23.98 kB / 1.196 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.6623, allocations: 1.552 MB / 1.198 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6623, allocations: 0 / 1.198 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.664, allocations: 1 MB / 1.199 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.6643, allocations: 295.6 kB / 1.199 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.6644, allocations: 19.94 kB / 1.199 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.665, allocations: 86.11 kB / 1.199 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.6652, allocations: 68.89 kB / 1.199 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.6652, allocations: 43.97 kB / 1.199 GB, free: 10 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004534/0.6657, allocations: 451 kB / 1.2 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6657, allocations: 0 / 1.2 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006347/0.6663, allocations: 315.2 kB / 1.2 GB, free: 9.262 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.002962/0.6693, allocations: 2.041 MB / 1.202 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.6706, allocations: 0.8119 MB / 1.203 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6707, allocations: 0 / 1.203 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008005/0.6715, allocations: 0.5197 MB / 1.203 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6726, allocations: 275.7 kB / 1.204 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009639/0.6823, allocations: 6.843 MB / 1.21 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.6827, allocations: 1.015 MB / 1.211 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006738/0.6834, allocations: 258.7 kB / 1.211 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.6839, allocations: 375.3 kB / 1.212 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.6839, allocations: 0 / 1.212 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.7179, allocations: 20.26 MB / 1.232 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/0.7182, allocations: 301.8 kB / 1.232 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.871, allocations: 0 / 1.232 GB, free: 8.883 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)