Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 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.001152/0.001152, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 60.52 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2957, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006916/0.3026, allocations: 4.907 MB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.4634, allocations: 150.6 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008999/0.4644, allocations: 15.94 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.4651, allocations: 194.2 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.4672, allocations: 0.5543 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.4694, allocations: 0.8466 MB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.4711, allocations: 1.413 MB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.4722, allocations: 0.5832 MB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.4731, allocations: 0.4983 MB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.4739, allocations: 0.5227 MB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.4742, allocations: 120 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.4752, allocations: 459.6 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003583/0.4756, allocations: 299.1 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007194/0.4763, allocations: 0.5752 MB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.4783, allocations: 1.624 MB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4783, allocations: 4 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4783, allocations: 0 / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.4784, allocations: 0 / 1.228 GB, free: 6.543 MB / 0.9825 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.003177/0.4816, allocations: 1.463 MB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4816, allocations: 8.031 kB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.4827, allocations: 187.4 kB / 1.229 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4839, allocations: 0.7585 MB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.4839, allocations: 66 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.4841, allocations: 87.94 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.4858, allocations: 0.9379 MB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.4859, allocations: 3.938 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.486, allocations: 36 kB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.486, allocations: 20 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.4878, allocations: 1.128 MB / 1.232 GB, free: 1.719 MB / 0.9825 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.004261/0.4921, allocations: 2.74 MB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.4937, allocations: 0.9043 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.4942, allocations: 318.7 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.14e-05/0.4943, allocations: 24.62 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008697/0.4952, allocations: 0.5198 MB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.4952, allocations: 0 / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.00327/0.4985, allocations: 1.255 MB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/0.4986, allocations: 192.9 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.4994, allocations: 0.6486 MB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.4995, allocations: 41.7 kB / 1.239 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.4998, allocations: 396.4 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.5, allocations: 272.2 kB / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.5003, allocations: 178.4 kB / 1.239 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.5004, allocations: 386.7 kB / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.501, allocations: 277.8 kB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.5017, allocations: 375.1 kB / 1.24 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.5028, allocations: 0.6281 MB / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5028, allocations: 0 / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002016/0.5048, allocations: 0.8761 MB / 1.242 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5049, allocations: 5.719 kB / 1.242 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5049, allocations: 12.09 kB / 1.242 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/0.5055, allocations: 80.77 kB / 1.242 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.5062, allocations: 171.8 kB / 1.242 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.5083, allocations: 1.632 MB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/0.5091, allocations: 91.31 kB / 1.244 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.5092, allocations: 39.97 kB / 1.244 GB, free: 5.254 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (99): * Single equations (assignments): 98 * 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.000415/0.5096, allocations: 276.9 kB / 1.244 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5098, allocations: 90.94 kB / 1.244 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.5123, allocations: 1.132 MB / 1.245 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5123, allocations: 11.94 kB / 1.245 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5124, allocations: 0 / 1.245 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.5124, allocations: 3.984 kB / 1.245 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.5157, allocations: 2.008 MB / 1.247 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5157, allocations: 0 / 1.247 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.5163, allocations: 159.8 kB / 1.247 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.5168, allocations: 68.78 kB / 1.248 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.5169, allocations: 31.97 kB / 1.248 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4827/0.9996, allocations: 1.666 MB / 1.249 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9996, allocations: 0.5938 kB / 1.249 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/1.002, allocations: 1.044 MB / 1.25 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/1.003, allocations: 278.5 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.003, allocations: 22.19 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/1.003, allocations: 68.38 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.004, allocations: 77.27 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/1.004, allocations: 39.14 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006679/1.004, allocations: 465.5 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 0 / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009607/1.005, allocations: 339.3 kB / 1.251 GB, free: 182.5 MB / 0.9981 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.001384/1.007, allocations: 0.6041 MB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002695/1.009, allocations: 1.079 MB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.009, allocations: 1.281 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.011, allocations: 0.5413 MB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.012, allocations: 305.9 kB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/1.015, allocations: 1.71 MB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/1.015, allocations: 1.036 MB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008118/1.016, allocations: 275.8 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/1.016, allocations: 108 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.016, allocations: 0 / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02868/1.045, allocations: 15.62 MB / 1.272 GB, free: 178.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)