Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001412/0.001412, allocations: 107.2 kB / 16.41 MB, free: 6.453 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.001459/0.001459, allocations: 192 kB / 17.34 MB, free: 5.715 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003003/0.003003, allocations: 293.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9916/0.9916, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4486, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006549/0.4552, allocations: 4.427 MB / 0.7714 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.6356, allocations: 151 MB / 0.9188 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.6364, allocations: 15.94 kB / 0.9189 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.6369, allocations: 170.3 kB / 0.919 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.6386, allocations: 0.5212 MB / 0.9195 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.6405, allocations: 0.8461 MB / 0.9204 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.642, allocations: 1.34 MB / 0.9217 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007668/0.6428, allocations: 470.8 kB / 0.9221 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/0.6435, allocations: 0.4905 MB / 0.9226 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.6441, allocations: 0.5056 MB / 0.9231 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.6443, allocations: 120 kB / 0.9232 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009155/0.6452, allocations: 491.6 kB / 0.9237 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.6455, allocations: 299 kB / 0.924 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.646, allocations: 0.5557 MB / 0.9245 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.6481, allocations: 1.64 MB / 0.9261 GB, free: 436 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6481, allocations: 0 / 0.9261 GB, free: 436 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6481, allocations: 0 / 0.9261 GB, free: 436 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.6481, allocations: 0 / 0.9261 GB, free: 436 kB / 0.6856 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.002769/0.6509, allocations: 1.493 MB / 0.9276 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6509, allocations: 12.03 kB / 0.9276 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009488/0.6519, allocations: 192 kB / 0.9278 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.6531, allocations: 0.7786 MB / 0.9285 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.6532, allocations: 66 kB / 0.9286 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6533, allocations: 88 kB / 0.9287 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.655, allocations: 0.9379 MB / 0.9296 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.655, allocations: 0 / 0.9296 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.6551, allocations: 36 kB / 0.9296 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.6551, allocations: 20 kB / 0.9296 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.657, allocations: 1.124 MB / 0.9307 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/0.6611, allocations: 2.52 MB / 0.9332 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.6627, allocations: 0.8655 MB / 0.934 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/0.6633, allocations: 286.7 kB / 0.9343 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.998e-05/0.6634, allocations: 36.61 kB / 0.9343 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009298/0.6643, allocations: 0.5123 MB / 0.9348 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/0.6643, allocations: 3.938 kB / 0.9348 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003343/0.6676, allocations: 1.247 MB / 0.9361 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.6678, allocations: 196.9 kB / 0.9362 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.6686, allocations: 0.6371 MB / 0.9369 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/0.6687, allocations: 45.7 kB / 0.9369 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.6691, allocations: 405.1 kB / 0.9373 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.6693, allocations: 289.6 kB / 0.9376 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.6696, allocations: 174.5 kB / 0.9377 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002469/0.6699, allocations: 386.8 kB / 0.9381 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.6704, allocations: 273.8 kB / 0.9384 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/0.6712, allocations: 383 kB / 0.9387 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.6724, allocations: 0.6165 MB / 0.9393 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6724, allocations: 4 kB / 0.9393 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002104/0.6745, allocations: 0.8804 MB / 0.9402 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6745, allocations: 4 kB / 0.9402 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.6745, allocations: 3.938 kB / 0.9402 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.6751, allocations: 84.86 kB / 0.9403 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.6758, allocations: 171.7 kB / 0.9405 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.6782, allocations: 1.623 MB / 0.942 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.679, allocations: 103.5 kB / 0.9421 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.6791, allocations: 35.97 kB / 0.9422 GB, free: 15.42 MB / 0.7169 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.000509/0.6796, allocations: 275.8 kB / 0.9424 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6798, allocations: 91.44 kB / 0.9425 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.6823, allocations: 1.128 MB / 0.9436 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.6824, allocations: 11.94 kB / 0.9436 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6824, allocations: 4 kB / 0.9436 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.6824, allocations: 7.922 kB / 0.9436 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.6859, allocations: 2.022 MB / 0.9456 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6859, allocations: 0 / 0.9456 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.6866, allocations: 155.8 kB / 0.9458 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.687, allocations: 68.78 kB / 0.9458 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.6871, allocations: 31.97 kB / 0.9459 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.6892, allocations: 1.662 MB / 0.9475 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6892, allocations: 4.031 kB / 0.9475 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.6914, allocations: 1.041 MB / 0.9485 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.6919, allocations: 288.2 kB / 0.9488 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.692, allocations: 27.94 kB / 0.9488 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.6927, allocations: 71.91 kB / 0.9489 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.6929, allocations: 80.83 kB / 0.949 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.78e-05/0.693, allocations: 39.97 kB / 0.949 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006274/0.6936, allocations: 459 kB / 0.9494 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6936, allocations: 4 kB / 0.9494 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009206/0.6945, allocations: 327.2 kB / 0.9498 GB, free: 7.395 MB / 0.7169 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.001888/0.6964, allocations: 0.5931 MB / 0.9503 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001867/0.6983, allocations: 0.8391 MB / 0.9511 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6983, allocations: 0 / 0.9511 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009968/0.6993, allocations: 0.5079 MB / 0.9516 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.7005, allocations: 297.3 kB / 0.9519 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.7047, allocations: 1.82 MB / 0.9537 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.7054, allocations: 1.039 MB / 0.9547 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008494/0.7062, allocations: 274.8 kB / 0.955 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.7065, allocations: 107.4 kB / 0.9551 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of SimCode: time 9.01e-07/0.7065, allocations: 0 / 0.9551 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.3395/1.046, allocations: 15.46 MB / 0.9702 GB, free: 183.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)