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.00676/0.00676, allocations: 99.84 kB / 15.73 MB, free: 6.016 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.001523/0.001523, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 275.9 kB / 290.8 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9867/0.9867, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 100.1 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1637, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005767/0.1695, allocations: 4.39 MB / 0.7707 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6824/0.8519, allocations: 150.6 MB / 0.9177 GB, free: 7.613 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.8527, allocations: 19.88 kB / 0.9177 GB, free: 7.594 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.8532, allocations: 172.4 kB / 0.9179 GB, free: 7.426 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.855, allocations: 0.4994 MB / 0.9184 GB, free: 6.941 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.857, allocations: 0.8418 MB / 0.9192 GB, free: 6.125 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.8587, allocations: 1.324 MB / 0.9205 GB, free: 4.793 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009208/0.8596, allocations: 0.6969 MB / 0.9212 GB, free: 4.078 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.8602, allocations: 0.4905 MB / 0.9216 GB, free: 3.586 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/0.8609, allocations: 0.525 MB / 0.9222 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.8611, allocations: 128 kB / 0.9223 GB, free: 2.934 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.8622, allocations: 491.6 kB / 0.9227 GB, free: 2.453 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.8626, allocations: 318.9 kB / 0.9231 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.8631, allocations: 0.579 MB / 0.9236 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.8653, allocations: 1.699 MB / 0.9253 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8653, allocations: 4 kB / 0.9253 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8653, allocations: 0 / 0.9253 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.8654, allocations: 0 / 0.9253 GB, free: 15.86 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.002614/0.868, allocations: 1.514 MB / 0.9268 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.868, allocations: 8.031 kB / 0.9268 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.8691, allocations: 223.9 kB / 0.927 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.8704, allocations: 0.7898 MB / 0.9278 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.8705, allocations: 73.98 kB / 0.9278 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.8706, allocations: 89.59 kB / 0.9279 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.8723, allocations: 1.007 MB / 0.9289 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.8724, allocations: 0 / 0.9289 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.8725, allocations: 40 kB / 0.9289 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.8725, allocations: 31.98 kB / 0.929 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.8745, allocations: 1.175 MB / 0.9301 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.8786, allocations: 2.592 MB / 0.9326 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.881, allocations: 0.9654 MB / 0.9336 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/0.8816, allocations: 315.8 kB / 0.9339 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/0.8816, allocations: 36.59 kB / 0.9339 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.8827, allocations: 0.4891 MB / 0.9344 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.8827, allocations: 11.75 kB / 0.9344 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003193/0.8859, allocations: 1.218 MB / 0.9356 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.886, allocations: 200.5 kB / 0.9358 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.8871, allocations: 0.6487 MB / 0.9364 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.8872, allocations: 41.7 kB / 0.9365 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.8875, allocations: 425 kB / 0.9369 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.8878, allocations: 285.6 kB / 0.9371 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.888, allocations: 170.6 kB / 0.9373 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.8882, allocations: 382.8 kB / 0.9377 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.8889, allocations: 273.8 kB / 0.9379 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.8897, allocations: 375.1 kB / 0.9383 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.891, allocations: 0.6151 MB / 0.9389 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.891, allocations: 4 kB / 0.9389 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002101/0.8931, allocations: 0.8726 MB / 0.9397 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.8931, allocations: 7.938 kB / 0.9397 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8932, allocations: 0 / 0.9397 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.8938, allocations: 81.62 kB / 0.9398 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.8945, allocations: 167.8 kB / 0.94 GB, free: 432 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.8967, allocations: 1.628 MB / 0.9416 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/0.8975, allocations: 97.12 kB / 0.9417 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/0.8976, allocations: 39.97 kB / 0.9417 GB, free: 14.52 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.0005132/0.8981, allocations: 279.4 kB / 0.942 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.8984, allocations: 87.44 kB / 0.9421 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.901, allocations: 1.099 MB / 0.9431 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.901, allocations: 12 kB / 0.9431 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.901, allocations: 4 kB / 0.9431 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9011, allocations: 3.984 kB / 0.9431 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.9049, allocations: 2.002 MB / 0.9451 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9049, allocations: 0 / 0.9451 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.9056, allocations: 151.8 kB / 0.9452 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.9061, allocations: 80.77 kB / 0.9453 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.9062, allocations: 23.98 kB / 0.9453 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.9082, allocations: 1.67 MB / 0.947 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9083, allocations: 0 / 0.947 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.9104, allocations: 1.026 MB / 0.948 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.9109, allocations: 276.2 kB / 0.9482 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.9111, allocations: 16 kB / 0.9483 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/0.9118, allocations: 71.92 kB / 0.9483 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.912, allocations: 68.91 kB / 0.9484 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/0.9121, allocations: 39.97 kB / 0.9484 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006818/0.9128, allocations: 463 kB / 0.9489 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9128, allocations: 0 / 0.9489 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009766/0.9138, allocations: 339 kB / 0.9492 GB, free: 6.586 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.001523/0.9153, allocations: 0.609 MB / 0.9498 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.9171, allocations: 0.8587 MB / 0.9506 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9172, allocations: 0 / 0.9506 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.9183, allocations: 0.5314 MB / 0.9512 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.9196, allocations: 297.2 kB / 0.9514 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.9239, allocations: 1.847 MB / 0.9532 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.9245, allocations: 1.047 MB / 0.9543 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008443/0.9254, allocations: 262.7 kB / 0.9545 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.9257, allocations: 115.4 kB / 0.9546 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of SimCode: time 2.154e-06/0.9257, allocations: 0 / 0.9546 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of Templates: time 0.02626/0.952, allocations: 15.32 MB / 0.9696 GB, free: 2.047 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)