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.001579/0.001579, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00175/0.00175, allocations: 192.7 kB / 16.14 MB, free: 6.723 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00267/0.00267, allocations: 274.5 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.112/1.112, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002793, allocations: 97.45 kB / 0.6057 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.164, allocations: 89.15 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006781/0.1708, allocations: 4.916 MB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4527/0.6235, allocations: 148.3 MB / 0.8424 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.6245, allocations: 19.16 kB / 0.8424 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.625, allocations: 157.2 kB / 0.8426 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.6266, allocations: 477.2 kB / 0.8431 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.6284, allocations: 0.7461 MB / 0.8438 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.6299, allocations: 1.331 MB / 0.8451 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000904/0.6309, allocations: 0.5649 MB / 0.8456 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007603/0.6316, allocations: 442.1 kB / 0.8461 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.6323, allocations: 495.9 kB / 0.8465 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.6324, allocations: 58.12 kB / 0.8466 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008626/0.6333, allocations: 398.4 kB / 0.847 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.6336, allocations: 243.2 kB / 0.8472 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.6341, allocations: 0.517 MB / 0.8477 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.6358, allocations: 1.568 MB / 0.8492 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6358, allocations: 0 / 0.8492 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.71e-07/0.6358, allocations: 0 / 0.8492 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.6358, allocations: 6.969 kB / 0.8492 GB, free: 4.895 MB / 0.5762 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.002817/0.6386, allocations: 1.456 MB / 0.8507 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6387, allocations: 9.531 kB / 0.8507 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.6396, allocations: 189.4 kB / 0.8508 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.6408, allocations: 0.7545 MB / 0.8516 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.6408, allocations: 60.06 kB / 0.8516 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.641, allocations: 87.05 kB / 0.8517 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.6427, allocations: 0.9476 MB / 0.8527 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.6428, allocations: 3.375 kB / 0.8527 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.6429, allocations: 31.44 kB / 0.8527 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.6429, allocations: 22.34 kB / 0.8527 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.6447, allocations: 1.131 MB / 0.8538 GB, free: 1.805 MB / 0.5762 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.00444/0.6492, allocations: 2.759 MB / 0.8565 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.6508, allocations: 0.9003 MB / 0.8574 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.6514, allocations: 314.6 kB / 0.8577 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.6515, allocations: 30.03 kB / 0.8577 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.6525, allocations: 0.5173 MB / 0.8582 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.405e-06/0.6525, allocations: 7.75 kB / 0.8582 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003403/0.6559, allocations: 1.249 MB / 0.8594 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.6561, allocations: 193.1 kB / 0.8596 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.6569, allocations: 0.6423 MB / 0.8603 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.657, allocations: 42.95 kB / 0.8603 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.6574, allocations: 403.8 kB / 0.8607 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.6576, allocations: 267.4 kB / 0.8609 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.6579, allocations: 177.1 kB / 0.8611 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.6581, allocations: 390.8 kB / 0.8615 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.6587, allocations: 280.1 kB / 0.8617 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.6593, allocations: 370.2 kB / 0.8621 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.6605, allocations: 0.6268 MB / 0.8627 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6605, allocations: 0 / 0.8627 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002074/0.6626, allocations: 0.8863 MB / 0.8636 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.6626, allocations: 5.375 kB / 0.8636 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6627, allocations: 6.547 kB / 0.8636 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/0.6633, allocations: 83.34 kB / 0.8637 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.664, allocations: 165 kB / 0.8638 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.6663, allocations: 1.528 MB / 0.8653 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.6671, allocations: 94.58 kB / 0.8654 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.6672, allocations: 38.97 kB / 0.8654 GB, free: 9.391 MB / 0.5919 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.0005031/0.6677, allocations: 271.8 kB / 0.8657 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.6679, allocations: 93.69 kB / 0.8658 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.6705, allocations: 1.129 MB / 0.8669 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6705, allocations: 14.38 kB / 0.8669 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.6705, allocations: 0 / 0.8669 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.6705, allocations: 9.766 kB / 0.8669 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.674, allocations: 2.018 MB / 0.8689 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.674, allocations: 0 / 0.8689 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006502/0.6747, allocations: 151.8 kB / 0.869 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/0.6752, allocations: 88.7 kB / 0.8691 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.6753, allocations: 27.98 kB / 0.8691 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.6774, allocations: 1.54 MB / 0.8706 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6774, allocations: 7.375 kB / 0.8707 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.6798, allocations: 1.047 MB / 0.8717 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.6802, allocations: 279.7 kB / 0.8719 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.6804, allocations: 20 kB / 0.872 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.6811, allocations: 75.77 kB / 0.872 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.6813, allocations: 84.88 kB / 0.8721 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.6814, allocations: 31.98 kB / 0.8721 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006496/0.682, allocations: 463 kB / 0.8726 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.682, allocations: 0 / 0.8726 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009797/0.683, allocations: 331.2 kB / 0.8729 GB, free: 2.828 MB / 0.5919 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.001978/0.685, allocations: 0.5995 MB / 0.8735 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.6869, allocations: 0.8712 MB / 0.8743 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6869, allocations: 0 / 0.8743 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.688, allocations: 0.5433 MB / 0.8749 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6893, allocations: 274 kB / 0.8751 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.6928, allocations: 2.131 MB / 0.8772 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.6936, allocations: 1.036 MB / 0.8782 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009257/0.6945, allocations: 262.9 kB / 0.8785 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.6949, allocations: 107.4 kB / 0.8786 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.6949, allocations: 0 / 0.8786 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.02944/0.7243, allocations: 14.94 MB / 0.8932 GB, free: 14.39 MB / 0.6231 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)