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.0007701/0.0007701, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.004963/0.004964, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001701/0.001701, allocations: 270.6 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 15.86 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004603/0.1548, allocations: 3.993 MB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4446/0.5995, allocations: 146.7 MB / 0.8323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.6001, allocations: 13.69 kB / 0.8323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.6005, allocations: 145.6 kB / 0.8324 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.6019, allocations: 440.2 kB / 0.8328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.6036, allocations: 0.7333 MB / 0.8335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.605, allocations: 1.244 MB / 0.8348 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.6058, allocations: 0.6058 MB / 0.8354 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.6063, allocations: 349.7 kB / 0.8357 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.6068, allocations: 401 kB / 0.8361 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.6069, allocations: 25.56 kB / 0.8361 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.6076, allocations: 371.5 kB / 0.8364 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.6078, allocations: 193.3 kB / 0.8366 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.6082, allocations: 467.3 kB / 0.8371 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.6095, allocations: 1.498 MB / 0.8385 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6095, allocations: 0 / 0.8385 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6095, allocations: 0 / 0.8385 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.6095, allocations: 0 / 0.8385 GB, free: 8.816 MB / 0.5606 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.002254/0.6118, allocations: 1.236 MB / 0.8397 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6119, allocations: 10.59 kB / 0.8398 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.6127, allocations: 195.8 kB / 0.8399 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.6137, allocations: 0.756 MB / 0.8407 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.6138, allocations: 63.16 kB / 0.8407 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6139, allocations: 79.38 kB / 0.8408 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.6154, allocations: 0.9589 MB / 0.8418 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6154, allocations: 0 / 0.8418 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.6155, allocations: 35.78 kB / 0.8418 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.6156, allocations: 24.34 kB / 0.8418 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.6173, allocations: 1.131 MB / 0.8429 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.6209, allocations: 2.58 MB / 0.8454 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.6224, allocations: 0.9118 MB / 0.8463 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.623, allocations: 321.7 kB / 0.8466 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.623, allocations: 34.77 kB / 0.8467 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009639/0.624, allocations: 0.5211 MB / 0.8472 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.545e-06/0.624, allocations: 0 / 0.8472 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003302/0.6273, allocations: 1.257 MB / 0.8484 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.6275, allocations: 192.9 kB / 0.8486 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.6283, allocations: 0.6414 MB / 0.8492 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.6284, allocations: 43.83 kB / 0.8493 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.6287, allocations: 395 kB / 0.8496 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.6289, allocations: 275.7 kB / 0.8499 GB, free: 1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.629, allocations: 70.31 kB / 0.85 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6292, allocations: 394.7 kB / 0.8503 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/0.6297, allocations: 278.2 kB / 0.8506 GB, free: 452 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.6303, allocations: 378.2 kB / 0.851 GB, free: 236 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.6314, allocations: 0.6328 MB / 0.8516 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6315, allocations: 0 / 0.8516 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001897/0.6334, allocations: 0.8862 MB / 0.8524 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6334, allocations: 5.031 kB / 0.8525 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6334, allocations: 2.938 kB / 0.8525 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.634, allocations: 84.22 kB / 0.8525 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.6347, allocations: 170.6 kB / 0.8527 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.6367, allocations: 1.52 MB / 0.8542 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/0.6375, allocations: 116.8 kB / 0.8543 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.354e-05/0.6376, allocations: 36.81 kB / 0.8543 GB, free: 13.78 MB / 0.5762 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.0004786/0.6381, allocations: 271 kB / 0.8546 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.6383, allocations: 92.69 kB / 0.8547 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.6407, allocations: 1.139 MB / 0.8558 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.6407, allocations: 10.84 kB / 0.8558 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.6407, allocations: 3.938 kB / 0.8558 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.6408, allocations: 7.969 kB / 0.8558 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.6439, allocations: 2.038 MB / 0.8578 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6439, allocations: 0 / 0.8578 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.6445, allocations: 154.2 kB / 0.8579 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.645, allocations: 91.08 kB / 0.858 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/0.6451, allocations: 32.69 kB / 0.8581 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.6468, allocations: 1.545 MB / 0.8596 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6469, allocations: 3.984 kB / 0.8596 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.6488, allocations: 1.056 MB / 0.8606 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.6492, allocations: 288.3 kB / 0.8609 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.6493, allocations: 26.12 kB / 0.8609 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/0.65, allocations: 85.58 kB / 0.861 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.6502, allocations: 76.45 kB / 0.8611 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.6502, allocations: 40.62 kB / 0.8611 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005133/0.6507, allocations: 465 kB / 0.8615 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6508, allocations: 0 / 0.8615 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008125/0.6516, allocations: 328.4 kB / 0.8619 GB, free: 8.613 MB / 0.5762 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.001286/0.6529, allocations: 0.6053 MB / 0.8625 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.6545, allocations: 0.8694 MB / 0.8633 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6545, allocations: 192 / 0.8633 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.6554, allocations: 0.5473 MB / 0.8638 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6566, allocations: 263.2 kB / 0.8641 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.6607, allocations: 2.309 MB / 0.8663 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.6612, allocations: 1.039 MB / 0.8674 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008493/0.6621, allocations: 270.8 kB / 0.8676 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.6624, allocations: 115.4 kB / 0.8677 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6624, allocations: 0 / 0.8677 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of Templates: time 0.02342/0.6858, allocations: 14.49 MB / 0.8819 GB, free: 5.883 MB / 0.5919 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)