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.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.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.001296/0.001296, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.312/2.312, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4634, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005532/0.469, allocations: 4.828 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.5988, allocations: 150.6 MB / 1.169 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006769/0.5995, allocations: 19.88 kB / 1.169 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.6001, allocations: 182.3 kB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.6016, allocations: 0.5539 MB / 1.17 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.6032, allocations: 0.8175 MB / 1.171 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.6044, allocations: 1.378 MB / 1.172 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.6051, allocations: 0.5908 MB / 1.173 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004787/0.6056, allocations: 486.3 kB / 1.173 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.6061, allocations: 0.494 MB / 1.174 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.6062, allocations: 119.9 kB / 1.174 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006688/0.6069, allocations: 467.7 kB / 1.174 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.6071, allocations: 291.1 kB / 1.174 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.6075, allocations: 0.5636 MB / 1.175 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.6088, allocations: 1.605 MB / 1.177 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6088, allocations: 0 / 1.177 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6088, allocations: 3.938 kB / 1.177 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.6088, allocations: 0 / 1.177 GB, free: 14.9 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002032/0.6108, allocations: 1.418 MB / 1.178 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.6109, allocations: 8.031 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.611, allocations: 143.4 kB / 1.178 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.6119, allocations: 179.4 kB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.6128, allocations: 0.742 MB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.6128, allocations: 66 kB / 1.179 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/0.6129, allocations: 80 kB / 1.179 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.6142, allocations: 0.9222 MB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.6142, allocations: 0 / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.482e-05/0.6143, allocations: 36 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.6143, allocations: 20 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.6159, allocations: 1.116 MB / 1.181 GB, free: 10.03 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.00325/0.6191, allocations: 2.728 MB / 1.184 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.6205, allocations: 0.8938 MB / 1.185 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.621, allocations: 306.6 kB / 1.185 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.621, allocations: 24.61 kB / 1.185 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007648/0.6218, allocations: 0.4951 MB / 1.185 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 1.753e-06/0.6218, allocations: 4 kB / 1.185 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.00271/0.6245, allocations: 1.19 MB / 1.187 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.6246, allocations: 192.6 kB / 1.187 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.6252, allocations: 0.6253 MB / 1.187 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.6253, allocations: 41.7 kB / 1.187 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.6256, allocations: 396.3 kB / 1.188 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.6257, allocations: 252.4 kB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.6259, allocations: 142.5 kB / 1.188 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.626, allocations: 390.7 kB / 1.189 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.6265, allocations: 249.9 kB / 1.189 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.627, allocations: 354.6 kB / 1.189 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.628, allocations: 0.5799 MB / 1.19 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.628, allocations: 4 kB / 1.19 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001664/0.6297, allocations: 0.798 MB / 1.191 GB, free: 96 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6297, allocations: 5.562 kB / 1.191 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6297, allocations: 4.094 kB / 1.191 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.6303, allocations: 80.72 kB / 1.191 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.6308, allocations: 155.8 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.6326, allocations: 1.652 MB / 1.192 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.6332, allocations: 83.33 kB / 1.192 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.6332, allocations: 31.97 kB / 1.193 GB, free: 13.94 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: 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.0002943/0.6335, allocations: 266.6 kB / 1.193 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.6337, allocations: 82.97 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.6358, allocations: 1.065 MB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.6358, allocations: 12.03 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6358, allocations: 11.98 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6358, allocations: 3.984 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.6386, allocations: 1.966 MB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6386, allocations: 0 / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.6391, allocations: 143.8 kB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.6395, allocations: 72.78 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.6396, allocations: 23.98 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.6413, allocations: 1.67 MB / 1.198 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6413, allocations: 3.938 kB / 1.198 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.6431, allocations: 0.9922 MB / 1.199 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.6434, allocations: 271.7 kB / 1.199 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6435, allocations: 20 kB / 1.199 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.6441, allocations: 63.92 kB / 1.199 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6442, allocations: 68.84 kB / 1.199 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.6443, allocations: 39.97 kB / 1.199 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004678/0.6448, allocations: 455 kB / 1.2 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6448, allocations: 0 / 1.2 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000682/0.6455, allocations: 319.2 kB / 1.2 GB, free: 6.152 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.003073/0.6486, allocations: 2.038 MB / 1.202 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.6506, allocations: 0.9952 MB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6506, allocations: 0 / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.6514, allocations: 0.5199 MB / 1.203 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.6525, allocations: 309.2 kB / 1.204 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/0.6612, allocations: 6.397 MB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.6617, allocations: 1.023 MB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007287/0.6625, allocations: 262.6 kB / 1.211 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.6629, allocations: 379.2 kB / 1.211 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.6629, allocations: 0 / 1.211 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6636/1.326, allocations: 21.35 MB / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.62, allocations: 13.33 kB / 1.232 GB, free: 5.23 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)