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.0015/0.0015, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001563/0.001563, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00268/0.002681, allocations: 299.1 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.205/1.205, allocations: 178.6 MB / 0.5079 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002885/0.002885, allocations: 104.2 kB / 0.6071 GB, free: 9.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1897, allocations: 89.13 MB / 0.6942 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007411/0.1972, allocations: 5.106 MB / 0.6991 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4682/0.6654, allocations: 150.7 MB / 0.8463 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009506/0.6664, allocations: 15.84 kB / 0.8463 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.6671, allocations: 201.8 kB / 0.8465 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.6692, allocations: 0.5613 MB / 0.847 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.6713, allocations: 0.8439 MB / 0.8479 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001949/0.6733, allocations: 1.437 MB / 0.8493 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.6743, allocations: 0.6491 MB / 0.8499 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000908/0.6752, allocations: 0.5149 MB / 0.8504 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/0.676, allocations: 0.5465 MB / 0.8509 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.6762, allocations: 126.4 kB / 0.8511 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.6773, allocations: 466.9 kB / 0.8515 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.6776, allocations: 314.3 kB / 0.8518 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.6783, allocations: 0.6065 MB / 0.8524 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.6805, allocations: 1.691 MB / 0.854 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6805, allocations: 0 / 0.854 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6805, allocations: 0 / 0.854 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.6806, allocations: 5.375 kB / 0.854 GB, free: 3.336 MB / 0.6075 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.003011/0.6836, allocations: 1.491 MB / 0.8555 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.6836, allocations: 9.25 kB / 0.8555 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.6848, allocations: 218.3 kB / 0.8557 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6861, allocations: 0.7554 MB / 0.8565 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.6861, allocations: 72.8 kB / 0.8565 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6863, allocations: 88.44 kB / 0.8566 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.6881, allocations: 1.012 MB / 0.8576 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.6881, allocations: 3.938 kB / 0.8576 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.6882, allocations: 42.97 kB / 0.8576 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.6883, allocations: 20.94 kB / 0.8577 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.6902, allocations: 1.177 MB / 0.8588 GB, free: 156 kB / 0.6075 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.004819/0.695, allocations: 2.883 MB / 0.8616 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.6975, allocations: 0.9744 MB / 0.8626 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.6981, allocations: 317.5 kB / 0.8629 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.6982, allocations: 32.61 kB / 0.8629 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009921/0.6992, allocations: 0.5042 MB / 0.8634 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.6992, allocations: 0 / 0.8634 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003542/0.7027, allocations: 1.233 MB / 0.8646 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.7029, allocations: 188.6 kB / 0.8648 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.7038, allocations: 0.6488 MB / 0.8654 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.7039, allocations: 41.7 kB / 0.8655 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.7044, allocations: 424.3 kB / 0.8659 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.7046, allocations: 264.2 kB / 0.8661 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.7049, allocations: 170.4 kB / 0.8663 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.7051, allocations: 386.3 kB / 0.8666 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.7057, allocations: 277.8 kB / 0.8669 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.7064, allocations: 375.5 kB / 0.8673 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.7077, allocations: 0.6268 MB / 0.8679 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7077, allocations: 0 / 0.8679 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002186/0.7099, allocations: 0.8722 MB / 0.8687 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.71, allocations: 11.94 kB / 0.8687 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.71, allocations: 2.562 kB / 0.8687 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.7106, allocations: 84.86 kB / 0.8688 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.7113, allocations: 167.7 kB / 0.869 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.7137, allocations: 1.627 MB / 0.8706 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.7145, allocations: 91.31 kB / 0.8707 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.7146, allocations: 40.83 kB / 0.8707 GB, free: 4.59 MB / 0.6231 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.0005253/0.7152, allocations: 276 kB / 0.871 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.7153, allocations: 82.97 kB / 0.871 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.718, allocations: 1.107 MB / 0.8721 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.718, allocations: 8 kB / 0.8721 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.718, allocations: 0 / 0.8721 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.718, allocations: 7.969 kB / 0.8721 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.7216, allocations: 1.992 MB / 0.8741 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7217, allocations: 4 kB / 0.8741 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.7223, allocations: 155.7 kB / 0.8742 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.7228, allocations: 76.78 kB / 0.8743 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-05/0.7228, allocations: 23.98 kB / 0.8743 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.725, allocations: 1.655 MB / 0.876 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.725, allocations: 0 / 0.876 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.7273, allocations: 1.02 MB / 0.877 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.7277, allocations: 279.7 kB / 0.8772 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.7279, allocations: 20.88 kB / 0.8772 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.7286, allocations: 68.7 kB / 0.8773 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.7287, allocations: 64.91 kB / 0.8774 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.7288, allocations: 39.97 kB / 0.8774 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006583/0.7295, allocations: 474.7 kB / 0.8779 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7295, allocations: 0 / 0.8779 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001002/0.7305, allocations: 339.1 kB / 0.8782 GB, free: 12.68 MB / 0.6387 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.001926/0.7324, allocations: 0.6102 MB / 0.8788 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.7351, allocations: 1.058 MB / 0.8798 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7352, allocations: 0 / 0.8798 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.7362, allocations: 0.5315 MB / 0.8803 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.7376, allocations: 307.6 kB / 0.8806 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.7411, allocations: 1.787 MB / 0.8824 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/0.7418, allocations: 1.039 MB / 0.8834 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.7422, allocations: 119.4 kB / 0.8835 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of SimCode: time 5.82e-07/0.7422, allocations: 0 / 0.8835 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of Templates: time 0.02843/0.7706, allocations: 19.35 MB / 0.9024 GB, free: 4.125 MB / 0.6544 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)