Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001634/0.001634, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.471/1.471, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 286.9 kB / 291 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5076 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 102.1 kB / 0.6066 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1845, allocations: 89.16 MB / 0.6936 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007363/0.1919, allocations: 5.002 MB / 0.6985 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5536/0.7456, allocations: 148.5 MB / 0.8435 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.747, allocations: 19.28 kB / 0.8435 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.7478, allocations: 161.6 kB / 0.8437 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.7503, allocations: 0.4955 MB / 0.8442 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.7528, allocations: 0.7823 MB / 0.845 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.7548, allocations: 1.466 MB / 0.8464 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.7559, allocations: 0.5971 MB / 0.847 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.7566, allocations: 0.5205 MB / 0.8475 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.7573, allocations: 0.5437 MB / 0.848 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.7575, allocations: 122.8 kB / 0.8481 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009975/0.7585, allocations: 484.9 kB / 0.8486 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.7588, allocations: 314 kB / 0.8489 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.7595, allocations: 0.5939 MB / 0.8495 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.7612, allocations: 1.286 MB / 0.8507 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7612, allocations: 0 / 0.8507 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7612, allocations: 0 / 0.8507 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.7613, allocations: 2.562 kB / 0.8507 GB, free: 4.68 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00297/0.7642, allocations: 1.494 MB / 0.8522 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7643, allocations: 9.906 kB / 0.8522 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009431/0.7652, allocations: 189.6 kB / 0.8524 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.7664, allocations: 0.7654 MB / 0.8531 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.7665, allocations: 67.59 kB / 0.8532 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.7666, allocations: 83.53 kB / 0.8533 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.7684, allocations: 0.9845 MB / 0.8542 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.7684, allocations: 2.406 kB / 0.8542 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.7685, allocations: 41.92 kB / 0.8543 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.7685, allocations: 26.41 kB / 0.8543 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.7705, allocations: 1.16 MB / 0.8554 GB, free: 1.512 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.004698/0.7752, allocations: 2.917 MB / 0.8583 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.7773, allocations: 0.9748 MB / 0.8592 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.7779, allocations: 326.2 kB / 0.8595 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.83e-05/0.778, allocations: 36.27 kB / 0.8596 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.7791, allocations: 0.5329 MB / 0.8601 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 9.838e-06/0.7791, allocations: 3.984 kB / 0.8601 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003472/0.7826, allocations: 1.298 MB / 0.8614 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.7828, allocations: 203 kB / 0.8616 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.7836, allocations: 0.6516 MB / 0.8622 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.7837, allocations: 42.42 kB / 0.8622 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.7841, allocations: 406.6 kB / 0.8626 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.7844, allocations: 283.2 kB / 0.8629 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.7847, allocations: 182.5 kB / 0.8631 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.785, allocations: 390.7 kB / 0.8634 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.7855, allocations: 293.2 kB / 0.8637 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.7862, allocations: 391.5 kB / 0.8641 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.7874, allocations: 0.6526 MB / 0.8647 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7874, allocations: 0 / 0.8647 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002078/0.7895, allocations: 0.9155 MB / 0.8656 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.7895, allocations: 9.797 kB / 0.8656 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7896, allocations: 2.094 kB / 0.8656 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/0.7902, allocations: 79.38 kB / 0.8657 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.791, allocations: 175.8 kB / 0.8659 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.7934, allocations: 1.63 MB / 0.8675 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.7943, allocations: 119.5 kB / 0.8676 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.7944, allocations: 34.84 kB / 0.8676 GB, free: 8.73 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0005866/0.795, allocations: 283.6 kB / 0.8679 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.7952, allocations: 86.47 kB / 0.868 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.798, allocations: 1.199 MB / 0.8691 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.798, allocations: 11.94 kB / 0.8692 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.798, allocations: 4 kB / 0.8692 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7981, allocations: 3.984 kB / 0.8692 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.8018, allocations: 2.101 MB / 0.8712 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8018, allocations: 0 / 0.8712 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.8025, allocations: 167.8 kB / 0.8714 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.803, allocations: 68.8 kB / 0.8714 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.8031, allocations: 31.97 kB / 0.8715 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.8053, allocations: 1.659 MB / 0.8731 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8053, allocations: 8 kB / 0.8731 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.8075, allocations: 1.082 MB / 0.8742 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.808, allocations: 287.6 kB / 0.8744 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.8081, allocations: 24 kB / 0.8744 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007345/0.8089, allocations: 67.91 kB / 0.8745 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.8091, allocations: 88.83 kB / 0.8746 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/0.8092, allocations: 44.03 kB / 0.8746 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006477/0.8098, allocations: 474.9 kB / 0.8751 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8098, allocations: 0 / 0.8751 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001088/0.8109, allocations: 351.2 kB / 0.8754 GB, free: 0.9297 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 (106): * Single equations (assignments): 99 * 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.002076/0.813, allocations: 0.6271 MB / 0.876 GB, free: 488 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002903/0.8159, allocations: 1.136 MB / 0.8771 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8159, allocations: 0 / 0.8771 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.817, allocations: 0.5667 MB / 0.8777 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.8184, allocations: 307.6 kB / 0.878 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.8221, allocations: 2.245 MB / 0.8802 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.8229, allocations: 1.044 MB / 0.8812 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.8232, allocations: 127.4 kB / 0.8813 GB, free: 11 MB / 0.6075 GB Notification: Performance of SimCode: time 2.815e-06/0.8232, allocations: 0 / 0.8813 GB, free: 11 MB / 0.6075 GB Notification: Performance of Templates: time 0.02825/0.8515, allocations: 19.53 MB / 0.9004 GB, free: 7.555 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)