Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001181/0.001181, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.276/2.276, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4895, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005922/0.4955, allocations: 5.146 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1376/0.6331, allocations: 148.3 MB / 1.167 GB, free: 8.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.6339, allocations: 15.88 kB / 1.167 GB, free: 8.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.6346, allocations: 154.8 kB / 1.167 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.6363, allocations: 489.2 kB / 1.167 GB, free: 8.051 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.6381, allocations: 0.7373 MB / 1.168 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.6394, allocations: 1.354 MB / 1.169 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008429/0.6403, allocations: 0.6314 MB / 1.17 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.6409, allocations: 458.2 kB / 1.17 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.6413, allocations: 0.5094 MB / 1.171 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.6414, allocations: 64 kB / 1.171 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.6421, allocations: 407.6 kB / 1.171 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.6423, allocations: 259 kB / 1.172 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.6428, allocations: 0.5439 MB / 1.172 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.6441, allocations: 1.651 MB / 1.174 GB, free: 1.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6441, allocations: 0 / 1.174 GB, free: 1.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.11e-07/0.6441, allocations: 0 / 1.174 GB, free: 1.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.6441, allocations: 0 / 1.174 GB, free: 1.426 MB / 0.92 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.002328/0.6464, allocations: 1.496 MB / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6465, allocations: 12.03 kB / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.6466, allocations: 148.1 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.6477, allocations: 219.3 kB / 1.175 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/0.6486, allocations: 0.7536 MB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.6487, allocations: 74 kB / 1.176 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.6488, allocations: 88 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.6504, allocations: 1.011 MB / 1.177 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.6504, allocations: 0 / 1.177 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.6505, allocations: 43.98 kB / 1.177 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.6505, allocations: 24 kB / 1.177 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.6523, allocations: 1.171 MB / 1.179 GB, free: 12.26 MB / 0.9356 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.003797/0.6561, allocations: 2.887 MB / 1.181 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.6584, allocations: 0.9781 MB / 1.182 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.6589, allocations: 310.6 kB / 1.183 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.065e-05/0.659, allocations: 36.59 kB / 1.183 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008707/0.6599, allocations: 0.5069 MB / 1.183 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.904e-06/0.6599, allocations: 0 / 1.183 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003059/0.663, allocations: 1.229 MB / 1.184 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.6631, allocations: 192.5 kB / 1.185 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.6638, allocations: 0.641 MB / 1.185 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.6638, allocations: 41.7 kB / 1.185 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.6641, allocations: 432.2 kB / 1.186 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.6643, allocations: 264.2 kB / 1.186 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.6645, allocations: 150.5 kB / 1.186 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6647, allocations: 382.8 kB / 1.186 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.6652, allocations: 253.9 kB / 1.187 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/0.6658, allocations: 378.5 kB / 1.187 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6669, allocations: 0.5956 MB / 1.188 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6669, allocations: 3.938 kB / 1.188 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001811/0.6687, allocations: 0.8214 MB / 1.188 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6687, allocations: 10.19 kB / 1.188 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6687, allocations: 64 / 1.188 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.6693, allocations: 88.86 kB / 1.188 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.6699, allocations: 155.7 kB / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.6717, allocations: 1.526 MB / 1.19 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.6724, allocations: 95.39 kB / 1.19 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.6724, allocations: 31.97 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (88): * Single equations (assignments): 87 * 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.0003307/0.6728, allocations: 273.6 kB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6729, allocations: 86.95 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.6753, allocations: 1.101 MB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.6753, allocations: 11.94 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6753, allocations: 0 / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.6753, allocations: 3.984 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.6783, allocations: 2.005 MB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.6783, allocations: 0 / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.6789, allocations: 155.8 kB / 1.194 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/0.6794, allocations: 88.64 kB / 1.194 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.6795, allocations: 27.98 kB / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.6812, allocations: 1.54 MB / 1.195 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6812, allocations: 7.969 kB / 1.195 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.6831, allocations: 1.019 MB / 1.196 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.6835, allocations: 275.7 kB / 1.197 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.6836, allocations: 23.94 kB / 1.197 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.6843, allocations: 67.92 kB / 1.197 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.6844, allocations: 68.89 kB / 1.197 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.6845, allocations: 39.98 kB / 1.197 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004974/0.685, allocations: 467 kB / 1.197 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.685, allocations: 0 / 1.197 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007426/0.6857, allocations: 335.1 kB / 1.198 GB, free: 8.008 MB / 0.9512 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.003297/0.689, allocations: 2.073 MB / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.6906, allocations: 0.8235 MB / 1.2 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6906, allocations: 0 / 1.2 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008899/0.6915, allocations: 0.5237 MB / 1.201 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6926, allocations: 279.1 kB / 1.201 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.7033, allocations: 7.091 MB / 1.208 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.7039, allocations: 1.043 MB / 1.209 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007937/0.7047, allocations: 274.8 kB / 1.209 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.7052, allocations: 403.3 kB / 1.21 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.7052, allocations: 0 / 1.21 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.357/1.062, allocations: 21.24 MB / 1.231 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/1.063, allocations: 321.7 kB / 1.231 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.5, allocations: 0 / 1.231 GB, free: 6.246 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)