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.005441/0.005441, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001194/0.001194, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002254, allocations: 274.9 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 87.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.216, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005843/0.2218, allocations: 4.418 MB / 0.7707 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.633/0.8548, allocations: 150.6 MB / 0.9177 GB, free: 7.816 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008448/0.8557, allocations: 15.94 kB / 0.9177 GB, free: 7.801 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.8563, allocations: 176.7 kB / 0.9179 GB, free: 7.629 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.858, allocations: 0.5128 MB / 0.9184 GB, free: 7.133 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.8599, allocations: 0.8446 MB / 0.9192 GB, free: 6.312 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.8612, allocations: 1.343 MB / 0.9206 GB, free: 4.965 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.8621, allocations: 0.6252 MB / 0.9212 GB, free: 4.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.8627, allocations: 0.4943 MB / 0.9216 GB, free: 3.824 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.8632, allocations: 0.5017 MB / 0.9221 GB, free: 3.32 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.8634, allocations: 119.9 kB / 0.9223 GB, free: 3.203 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008955/0.8643, allocations: 487.6 kB / 0.9227 GB, free: 2.727 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.8646, allocations: 299.1 kB / 0.923 GB, free: 2.434 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.8651, allocations: 0.5557 MB / 0.9235 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.8669, allocations: 1.647 MB / 0.9252 GB, free: 236 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8669, allocations: 0 / 0.9252 GB, free: 236 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8669, allocations: 4 kB / 0.9252 GB, free: 232 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.8669, allocations: 0 / 0.9252 GB, free: 232 kB / 0.67 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.002547/0.8695, allocations: 1.485 MB / 0.9266 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.8695, allocations: 8.031 kB / 0.9266 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.8704, allocations: 196 kB / 0.9268 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.8716, allocations: 0.7886 MB / 0.9276 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.8717, allocations: 62 kB / 0.9276 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.8718, allocations: 84 kB / 0.9277 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.8733, allocations: 0.9417 MB / 0.9286 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.8733, allocations: 0 / 0.9286 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.8734, allocations: 36 kB / 0.9287 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.8734, allocations: 24 kB / 0.9287 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.8751, allocations: 1.128 MB / 0.9298 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.8789, allocations: 2.516 MB / 0.9322 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.8804, allocations: 0.909 MB / 0.9331 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005306/0.881, allocations: 306.7 kB / 0.9334 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-05/0.8811, allocations: 36.67 kB / 0.9335 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008677/0.8819, allocations: 0.524 MB / 0.934 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.235e-06/0.8819, allocations: 0 / 0.934 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003112/0.8851, allocations: 1.247 MB / 0.9352 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.8852, allocations: 192.9 kB / 0.9354 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/0.886, allocations: 0.6333 MB / 0.936 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.886, allocations: 45.7 kB / 0.936 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.8863, allocations: 410.2 kB / 0.9364 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.8866, allocations: 277.6 kB / 0.9367 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.8868, allocations: 178.5 kB / 0.9369 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.887, allocations: 390.7 kB / 0.9372 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.8875, allocations: 281.8 kB / 0.9375 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.8882, allocations: 371.5 kB / 0.9379 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.8893, allocations: 0.6281 MB / 0.9385 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8893, allocations: 3.938 kB / 0.9385 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0019/0.8912, allocations: 0.8733 MB / 0.9393 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.8912, allocations: 8 kB / 0.9393 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8913, allocations: 0 / 0.9393 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.8918, allocations: 88.8 kB / 0.9394 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.8925, allocations: 175.6 kB / 0.9396 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.8945, allocations: 1.63 MB / 0.9412 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.8952, allocations: 95.58 kB / 0.9413 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.8953, allocations: 39.97 kB / 0.9413 GB, free: 15.15 MB / 0.7012 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.000419/0.8957, allocations: 279.8 kB / 0.9416 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.8959, allocations: 87.44 kB / 0.9417 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.8983, allocations: 1.133 MB / 0.9428 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.8984, allocations: 8 kB / 0.9428 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8984, allocations: 7.938 kB / 0.9428 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8984, allocations: 3.984 kB / 0.9428 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.9016, allocations: 2.014 MB / 0.9448 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.9016, allocations: 0 / 0.9448 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.9022, allocations: 155.8 kB / 0.9449 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.9026, allocations: 72.78 kB / 0.945 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.9027, allocations: 31.97 kB / 0.945 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.9045, allocations: 1.662 MB / 0.9466 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9045, allocations: 6.375 kB / 0.9466 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.9065, allocations: 1.049 MB / 0.9477 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.9069, allocations: 284.1 kB / 0.9479 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.907, allocations: 20 kB / 0.9479 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.9076, allocations: 68.62 kB / 0.948 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.9078, allocations: 76.89 kB / 0.9481 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.9079, allocations: 39.97 kB / 0.9481 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005689/0.9084, allocations: 463 kB / 0.9486 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9085, allocations: 0 / 0.9486 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008542/0.9093, allocations: 327.1 kB / 0.9489 GB, free: 7.148 MB / 0.7012 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.001333/0.9107, allocations: 0.6169 MB / 0.9495 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.9124, allocations: 0.8546 MB / 0.9503 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.9124, allocations: 0 / 0.9503 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.9134, allocations: 0.5511 MB / 0.9509 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.9146, allocations: 306.5 kB / 0.9511 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.9184, allocations: 1.815 MB / 0.9529 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.919, allocations: 1.039 MB / 0.9539 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007373/0.9198, allocations: 270.8 kB / 0.9542 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.9201, allocations: 115.4 kB / 0.9543 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of SimCode: time 4.31e-07/0.9201, allocations: 0 / 0.9543 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of Templates: time 0.02628/0.9464, allocations: 15.4 MB / 0.9693 GB, free: 2.508 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)