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.001034/0.001034, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009232/0.0009231, allocations: 188 kB / 16.25 MB, free: 6.633 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.156/1.156, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.205/2.205, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 0.8688 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4522, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005432/0.4577, allocations: 4.838 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1237/0.5814, allocations: 148.4 MB / 1.167 GB, free: 8.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006782/0.5821, allocations: 19.88 kB / 1.167 GB, free: 8.926 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.5827, allocations: 146.9 kB / 1.167 GB, free: 8.781 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.5842, allocations: 494.8 kB / 1.167 GB, free: 8.301 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.5858, allocations: 0.7473 MB / 1.168 GB, free: 7.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.5871, allocations: 1.37 MB / 1.169 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007397/0.5878, allocations: 0.5986 MB / 1.17 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.5884, allocations: 486.3 kB / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/0.5889, allocations: 0.5018 MB / 1.171 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.589, allocations: 116 kB / 1.171 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.5897, allocations: 463.6 kB / 1.171 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.5899, allocations: 287.1 kB / 1.172 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.5904, allocations: 0.5675 MB / 1.172 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.5917, allocations: 1.601 MB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5918, allocations: 7.938 kB / 1.174 GB, free: 1.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5918, allocations: 0 / 1.174 GB, free: 1.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.5918, allocations: 0 / 1.174 GB, free: 1.555 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.002239/0.594, allocations: 1.418 MB / 1.175 GB, free: 76 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5941, allocations: 12.03 kB / 1.175 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.5942, allocations: 131.4 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.5951, allocations: 191.4 kB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.5959, allocations: 0.7381 MB / 1.176 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.596, allocations: 58 kB / 1.176 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.5961, allocations: 87.98 kB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5974, allocations: 0.9183 MB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5975, allocations: 0 / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.5975, allocations: 40 kB / 1.177 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5976, allocations: 27.92 kB / 1.177 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.5991, allocations: 1.108 MB / 1.178 GB, free: 12.68 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.003297/0.6024, allocations: 2.728 MB / 1.181 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.6038, allocations: 0.8866 MB / 1.182 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.6042, allocations: 310.6 kB / 1.182 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.6043, allocations: 36.59 kB / 1.182 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.6051, allocations: 495 kB / 1.183 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 1.924e-06/0.6051, allocations: 0 / 1.183 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002767/0.6079, allocations: 1.186 MB / 1.184 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.608, allocations: 192.5 kB / 1.184 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.6086, allocations: 0.6254 MB / 1.185 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.6086, allocations: 45.7 kB / 1.185 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.6089, allocations: 396.3 kB / 1.185 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.6091, allocations: 252.4 kB / 1.185 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.6093, allocations: 150.5 kB / 1.185 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6094, allocations: 390.7 kB / 1.186 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.6098, allocations: 245.9 kB / 1.186 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.6104, allocations: 358.6 kB / 1.186 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/0.6113, allocations: 0.5838 MB / 1.187 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6113, allocations: 0 / 1.187 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001625/0.6129, allocations: 0.798 MB / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.613, allocations: 8 kB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.613, allocations: 0 / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.6136, allocations: 96.72 kB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.6141, allocations: 147.8 kB / 1.188 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.6159, allocations: 1.647 MB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.6165, allocations: 83.39 kB / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.6166, allocations: 39.91 kB / 1.19 GB, free: 0.5898 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.000295/0.6169, allocations: 269.8 kB / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.617, allocations: 78.97 kB / 1.19 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.6191, allocations: 1.062 MB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.6192, allocations: 15.94 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.6192, allocations: 0 / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6192, allocations: 7.984 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.6219, allocations: 1.97 MB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6219, allocations: 0 / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.6224, allocations: 143.8 kB / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.6228, allocations: 72.78 kB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.6229, allocations: 23.98 kB / 1.193 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.6245, allocations: 1.674 MB / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6245, allocations: 0 / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.6263, allocations: 0.9921 MB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.6266, allocations: 271.7 kB / 1.196 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6267, allocations: 16 kB / 1.196 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.6273, allocations: 71.86 kB / 1.196 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6274, allocations: 68.91 kB / 1.196 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.6275, allocations: 35.97 kB / 1.196 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004443/0.628, allocations: 459 kB / 1.197 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/0.628, allocations: 3.938 kB / 1.197 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006731/0.6286, allocations: 315.2 kB / 1.197 GB, free: 8.801 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.003/0.6316, allocations: 2.046 MB / 1.199 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.6336, allocations: 0.9954 MB / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6336, allocations: 0 / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.6344, allocations: 0.5157 MB / 1.2 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6355, allocations: 310.5 kB / 1.201 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/0.6451, allocations: 6.783 MB / 1.207 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.6456, allocations: 1.02 MB / 1.208 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007014/0.6463, allocations: 270.6 kB / 1.209 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.6468, allocations: 371.3 kB / 1.209 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.6468, allocations: 0 / 1.209 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.146/1.793, allocations: 21.14 MB / 1.23 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/1.794, allocations: 299.5 kB / 1.23 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/3.91, allocations: 0 / 1.23 GB, free: 7.359 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)