Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_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.001406/0.001406, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.171/1.171, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.335/2.335, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 65.92 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2092, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005346/0.2146, allocations: 5.137 MB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.124/0.3386, allocations: 150.7 MB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.3393, allocations: 19.88 kB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.3399, allocations: 198.1 kB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.3415, allocations: 0.5705 MB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.3431, allocations: 0.8362 MB / 1.207 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3444, allocations: 1.432 MB / 1.208 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.3451, allocations: 0.6521 MB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.3457, allocations: 0.51 MB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.3463, allocations: 0.5407 MB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.3465, allocations: 128 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000725/0.3472, allocations: 471.6 kB / 1.21 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.3475, allocations: 315 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.348, allocations: 0.6025 MB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.3494, allocations: 1.694 MB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3495, allocations: 0 / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.727e-06/0.3495, allocations: 0 / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.086e-05/0.3495, allocations: 3.938 kB / 1.213 GB, free: 3.906 MB / 0.9669 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.002342/0.3518, allocations: 1.497 MB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3519, allocations: 12.62 kB / 1.214 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.352, allocations: 156.1 kB / 1.214 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.353, allocations: 207.3 kB / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.3539, allocations: 0.7654 MB / 1.215 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.354, allocations: 70 kB / 1.215 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.3541, allocations: 92 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.3555, allocations: 1.003 MB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3556, allocations: 3.938 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.3557, allocations: 40 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.3557, allocations: 20 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.3574, allocations: 1.179 MB / 1.218 GB, free: 14.73 MB / 0.9825 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.00357/0.3609, allocations: 2.892 MB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.3631, allocations: 0.9745 MB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.3636, allocations: 322.6 kB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.3637, allocations: 32.61 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007538/0.3644, allocations: 0.5068 MB / 1.222 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.843e-06/0.3644, allocations: 0 / 1.222 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.002887/0.3673, allocations: 1.237 MB / 1.224 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.3674, allocations: 188.6 kB / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.3681, allocations: 0.6333 MB / 1.224 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.3681, allocations: 45.7 kB / 1.224 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.3684, allocations: 424.2 kB / 1.225 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3685, allocations: 268.1 kB / 1.225 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.3688, allocations: 158.5 kB / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3689, allocations: 382.8 kB / 1.226 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.3694, allocations: 253.9 kB / 1.226 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.3699, allocations: 370.5 kB / 1.226 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.371, allocations: 0.5994 MB / 1.227 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.371, allocations: 0 / 1.227 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001708/0.3727, allocations: 0.8253 MB / 1.228 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3727, allocations: 8 kB / 1.228 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3727, allocations: 0 / 1.228 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.3733, allocations: 84.86 kB / 1.228 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.3739, allocations: 155.8 kB / 1.228 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.3756, allocations: 1.633 MB / 1.229 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.3762, allocations: 99.33 kB / 1.229 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.3763, allocations: 31.97 kB / 1.229 GB, free: 2.188 MB / 0.9825 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.0002997/0.3766, allocations: 271.2 kB / 1.23 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.3767, allocations: 82.97 kB / 1.23 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.3789, allocations: 1.105 MB / 1.231 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3789, allocations: 11.98 kB / 1.231 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3789, allocations: 0 / 1.231 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3789, allocations: 3.984 kB / 1.231 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.3818, allocations: 2.012 MB / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3818, allocations: 0 / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.3823, allocations: 151.8 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/0.3827, allocations: 68.78 kB / 1.233 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.3828, allocations: 27.98 kB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.3844, allocations: 1.67 MB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3844, allocations: 3.938 kB / 1.235 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3862, allocations: 1.012 MB / 1.236 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.3864, allocations: 275.7 kB / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.3866, allocations: 23.94 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.3872, allocations: 69.48 kB / 1.236 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3873, allocations: 72.89 kB / 1.236 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.3874, allocations: 39.92 kB / 1.236 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004555/0.3879, allocations: 467 kB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3879, allocations: 0 / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006701/0.3886, allocations: 335.1 kB / 1.237 GB, free: 10.26 MB / 0.9981 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.003066/0.3916, allocations: 2.066 MB / 1.239 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.3937, allocations: 1.023 MB / 1.24 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3937, allocations: 3.938 kB / 1.24 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008389/0.3945, allocations: 0.5315 MB / 1.241 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3956, allocations: 300.8 kB / 1.241 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.355/0.7506, allocations: 6.675 MB / 1.247 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.7511, allocations: 1.038 MB / 1.248 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009408/0.7521, allocations: 270.4 kB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.7525, allocations: 403.2 kB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.7525, allocations: 5 kB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.461/3.213, allocations: 22.04 MB / 1.271 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/17.7, allocations: 13.11 kB / 1.271 GB, free: 185.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)