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.00577/0.00577, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001162/0.001162, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 275.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9517/0.9517, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 92.08 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1759, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006359/0.1823, allocations: 4.375 MB / 0.7706 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4898/0.6721, allocations: 150.6 MB / 0.9177 GB, free: 7.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.673, allocations: 19.94 kB / 0.9177 GB, free: 7.648 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007127/0.6737, allocations: 173.4 kB / 0.9179 GB, free: 7.48 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.6757, allocations: 0.5015 MB / 0.9184 GB, free: 6.996 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.6778, allocations: 0.8424 MB / 0.9192 GB, free: 6.188 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.6795, allocations: 1.321 MB / 0.9205 GB, free: 4.859 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.6806, allocations: 0.6971 MB / 0.9212 GB, free: 4.145 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007108/0.6813, allocations: 0.5 MB / 0.9217 GB, free: 3.645 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.6819, allocations: 0.5217 MB / 0.9222 GB, free: 3.121 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.682, allocations: 128 kB / 0.9223 GB, free: 2.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008626/0.6829, allocations: 493.5 kB / 0.9228 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.6832, allocations: 319 kB / 0.9231 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.6836, allocations: 0.5751 MB / 0.9236 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.6853, allocations: 1.701 MB / 0.9253 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6853, allocations: 1.031 kB / 0.9253 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6853, allocations: 0 / 0.9253 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.6853, allocations: 0 / 0.9253 GB, free: 15.92 MB / 0.6856 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.002411/0.6878, allocations: 1.477 MB / 0.9267 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6878, allocations: 8.031 kB / 0.9267 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.6889, allocations: 211.3 kB / 0.9269 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.69, allocations: 0.7814 MB / 0.9277 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.6901, allocations: 70 kB / 0.9278 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.6902, allocations: 95.98 kB / 0.9279 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.6918, allocations: 1.011 MB / 0.9288 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6918, allocations: 3.938 kB / 0.9288 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.6919, allocations: 36 kB / 0.9289 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.692, allocations: 24 kB / 0.9289 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.6938, allocations: 1.179 MB / 0.9301 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.6977, allocations: 2.581 MB / 0.9326 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.7001, allocations: 0.9615 MB / 0.9335 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.7006, allocations: 322.6 kB / 0.9338 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/0.7007, allocations: 28.62 kB / 0.9338 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008621/0.7016, allocations: 0.5029 MB / 0.9343 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.405e-06/0.7016, allocations: 0 / 0.9343 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003088/0.7047, allocations: 1.217 MB / 0.9355 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.7048, allocations: 196.6 kB / 0.9357 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.7056, allocations: 0.6448 MB / 0.9363 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.7056, allocations: 45.64 kB / 0.9364 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.7059, allocations: 420.2 kB / 0.9368 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.7061, allocations: 264.2 kB / 0.937 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.7064, allocations: 166.5 kB / 0.9372 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7066, allocations: 386.7 kB / 0.9376 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.7071, allocations: 285.5 kB / 0.9378 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.7077, allocations: 367.1 kB / 0.9382 GB, free: 2.348 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.7089, allocations: 0.619 MB / 0.9388 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.7089, allocations: 0 / 0.9388 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002332/0.7112, allocations: 0.8799 MB / 0.9397 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7112, allocations: 7.938 kB / 0.9397 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7113, allocations: 0 / 0.9397 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.7119, allocations: 76.81 kB / 0.9397 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.7126, allocations: 167.8 kB / 0.9399 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.7147, allocations: 1.626 MB / 0.9415 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.7155, allocations: 89.67 kB / 0.9416 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.7156, allocations: 41.66 kB / 0.9416 GB, free: 14.68 MB / 0.7012 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.0004367/0.716, allocations: 287.5 kB / 0.9419 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7162, allocations: 82.97 kB / 0.942 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.7185, allocations: 1.094 MB / 0.943 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.7186, allocations: 12 kB / 0.943 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.7186, allocations: 0 / 0.943 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.7186, allocations: 3.984 kB / 0.943 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.722, allocations: 2.006 MB / 0.945 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.722, allocations: 0 / 0.945 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.7226, allocations: 155.8 kB / 0.9452 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.723, allocations: 76.72 kB / 0.9452 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.7231, allocations: 31.98 kB / 0.9453 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.7251, allocations: 1.651 MB / 0.9469 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7251, allocations: 4.031 kB / 0.9469 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.7274, allocations: 1.025 MB / 0.9479 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.7279, allocations: 275.7 kB / 0.9481 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.728, allocations: 20 kB / 0.9482 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.7286, allocations: 67.92 kB / 0.9482 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.7288, allocations: 72 kB / 0.9483 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.7289, allocations: 35.97 kB / 0.9483 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005844/0.7295, allocations: 467 kB / 0.9488 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7295, allocations: 0 / 0.9488 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000957/0.7304, allocations: 323.2 kB / 0.9491 GB, free: 6.766 MB / 0.7012 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.001378/0.7318, allocations: 0.6123 MB / 0.9497 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.7337, allocations: 0.8557 MB / 0.9505 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7337, allocations: 0 / 0.9505 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.7347, allocations: 0.5353 MB / 0.951 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.736, allocations: 289.1 kB / 0.9513 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.7398, allocations: 1.82 MB / 0.9531 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.7404, allocations: 1.051 MB / 0.9541 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007943/0.7412, allocations: 266.7 kB / 0.9544 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.7415, allocations: 111.4 kB / 0.9545 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of SimCode: time 8.21e-07/0.7415, allocations: 0 / 0.9545 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of Templates: time 0.02555/0.7671, allocations: 15.6 MB / 0.9697 GB, free: 1.969 MB / 0.7169 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)