Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001386, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001417/0.001417, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002685/0.002685, allocations: 286.7 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.507 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 98.58 kB / 0.6059 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1809, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007207/0.1881, allocations: 5.13 MB / 0.698 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5398/0.7279, allocations: 148.4 MB / 0.8429 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008964/0.7289, allocations: 19.12 kB / 0.8429 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.7295, allocations: 157.4 kB / 0.8431 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.7312, allocations: 0.5061 MB / 0.8436 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.7331, allocations: 0.7549 MB / 0.8443 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.7347, allocations: 1.435 MB / 0.8457 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009026/0.7356, allocations: 0.6516 MB / 0.8464 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.7363, allocations: 0.5114 MB / 0.8469 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.737, allocations: 0.5424 MB / 0.8474 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.7371, allocations: 126.6 kB / 0.8475 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008032/0.7379, allocations: 472.9 kB / 0.848 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.7382, allocations: 311.2 kB / 0.8483 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.7387, allocations: 0.6121 MB / 0.8489 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.7406, allocations: 1.689 MB / 0.8505 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7406, allocations: 0 / 0.8505 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7406, allocations: 0 / 0.8505 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7406, allocations: 3.984 kB / 0.8505 GB, free: 4.395 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002705/0.7433, allocations: 1.496 MB / 0.852 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.7434, allocations: 9.906 kB / 0.852 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.7445, allocations: 217.4 kB / 0.8522 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.7457, allocations: 0.7591 MB / 0.8529 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.7457, allocations: 70.44 kB / 0.853 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7459, allocations: 92.44 kB / 0.8531 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.7476, allocations: 1.008 MB / 0.8541 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.7477, allocations: 0.75 kB / 0.8541 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.7478, allocations: 45.88 kB / 0.8541 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.7478, allocations: 22.25 kB / 0.8541 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.7497, allocations: 1.176 MB / 0.8553 GB, free: 1.207 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.004657/0.7544, allocations: 2.883 MB / 0.8581 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.7568, allocations: 0.9793 MB / 0.8591 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.7575, allocations: 312.8 kB / 0.8594 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/0.7575, allocations: 36.28 kB / 0.8594 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009859/0.7585, allocations: 0.497 MB / 0.8599 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.915e-06/0.7586, allocations: 4 kB / 0.8599 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003391/0.762, allocations: 1.219 MB / 0.8611 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.7621, allocations: 198.7 kB / 0.8613 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.763, allocations: 0.6461 MB / 0.8619 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/0.7631, allocations: 47.09 kB / 0.8619 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.7634, allocations: 418.5 kB / 0.8623 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.7637, allocations: 263.4 kB / 0.8626 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.764, allocations: 170.2 kB / 0.8628 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.7642, allocations: 391.2 kB / 0.8631 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.7648, allocations: 275.7 kB / 0.8634 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.7655, allocations: 373.5 kB / 0.8637 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.7667, allocations: 0.6194 MB / 0.8643 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7667, allocations: 6.812 kB / 0.8644 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002151/0.7689, allocations: 0.8722 MB / 0.8652 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.7689, allocations: 8.812 kB / 0.8652 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.7689, allocations: 0 / 0.8652 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/0.7696, allocations: 82.22 kB / 0.8653 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.7703, allocations: 167 kB / 0.8655 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.7726, allocations: 1.634 MB / 0.867 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.7736, allocations: 104.2 kB / 0.8671 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.7736, allocations: 36.88 kB / 0.8672 GB, free: 8.586 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0005065/0.7742, allocations: 281.3 kB / 0.8675 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.7743, allocations: 87.58 kB / 0.8675 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.7769, allocations: 1.097 MB / 0.8686 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.777, allocations: 15.98 kB / 0.8686 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.777, allocations: 4.062 kB / 0.8686 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.777, allocations: 7.922 kB / 0.8686 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003753/0.7808, allocations: 1.988 MB / 0.8706 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.7808, allocations: 3.938 kB / 0.8706 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.7815, allocations: 159.8 kB / 0.8707 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.7819, allocations: 72.78 kB / 0.8708 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.782, allocations: 27.98 kB / 0.8708 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.7842, allocations: 1.662 MB / 0.8724 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.7842, allocations: 0 / 0.8724 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.7865, allocations: 1.019 MB / 0.8734 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.7871, allocations: 275.3 kB / 0.8737 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.7872, allocations: 20 kB / 0.8737 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/0.788, allocations: 71.92 kB / 0.8738 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.7882, allocations: 64.91 kB / 0.8739 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.7883, allocations: 39.97 kB / 0.8739 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007248/0.789, allocations: 467 kB / 0.8743 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.789, allocations: 0 / 0.8743 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001039/0.7901, allocations: 339.1 kB / 0.8747 GB, free: 1.078 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001963/0.792, allocations: 0.6148 MB / 0.8753 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.7947, allocations: 1.059 MB / 0.8763 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7947, allocations: 0 / 0.8763 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7958, allocations: 0.5237 MB / 0.8768 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.7972, allocations: 322.7 kB / 0.8771 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.8008, allocations: 2.185 MB / 0.8793 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.8015, allocations: 1.039 MB / 0.8803 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009543/0.8025, allocations: 270.8 kB / 0.8805 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.8028, allocations: 115.4 kB / 0.8806 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.8028, allocations: 0 / 0.8806 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.03049/0.8333, allocations: 15.47 MB / 0.8957 GB, free: 11.84 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)