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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008452/0.0008452, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00495/0.00495, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.359/2.359, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 12.44 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2275, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004634/0.2322, allocations: 4.708 MB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1277/0.3599, allocations: 146.8 MB / 1.207 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.3606, allocations: 15.94 kB / 1.207 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.3611, allocations: 158.8 kB / 1.207 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.3624, allocations: 484.7 kB / 1.207 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3638, allocations: 0.748 MB / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.3651, allocations: 1.335 MB / 1.209 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.3659, allocations: 0.6158 MB / 1.21 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.3664, allocations: 370.2 kB / 1.21 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.3668, allocations: 405.8 kB / 1.211 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.3669, allocations: 28 kB / 1.211 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.3676, allocations: 367.6 kB / 1.211 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.3677, allocations: 195.1 kB / 1.211 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.3681, allocations: 0.4948 MB / 1.212 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3695, allocations: 1.584 MB / 1.213 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3695, allocations: 0 / 1.213 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3695, allocations: 4 kB / 1.213 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.3695, allocations: 0 / 1.213 GB, free: 6.043 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.002064/0.3716, allocations: 1.27 MB / 1.215 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3716, allocations: 12.03 kB / 1.215 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.3718, allocations: 152.1 kB / 1.215 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.3728, allocations: 223.3 kB / 1.215 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.3737, allocations: 0.7652 MB / 1.216 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.3738, allocations: 74 kB / 1.216 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3739, allocations: 91.98 kB / 1.216 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.3754, allocations: 1.011 MB / 1.217 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3755, allocations: 3.984 kB / 1.217 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.3756, allocations: 36 kB / 1.217 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.3756, allocations: 27.94 kB / 1.217 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.3773, allocations: 1.186 MB / 1.218 GB, free: 1.066 MB / 0.9669 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.003753/0.3811, allocations: 2.915 MB / 1.221 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.3833, allocations: 0.9746 MB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.3838, allocations: 322.7 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.063e-05/0.3839, allocations: 32.61 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008093/0.3847, allocations: 0.503 MB / 1.223 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.944e-06/0.3847, allocations: 0 / 1.223 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.002949/0.3877, allocations: 1.256 MB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.3878, allocations: 192.5 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.3884, allocations: 0.6372 MB / 1.225 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.3885, allocations: 45.7 kB / 1.225 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.3888, allocations: 432.1 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.389, allocations: 260.2 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.389, allocations: 61.69 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3892, allocations: 390.7 kB / 1.226 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.3897, allocations: 261.9 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.3903, allocations: 370.5 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3913, allocations: 0.6151 MB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3913, allocations: 0 / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001739/0.3931, allocations: 0.8369 MB / 1.228 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3931, allocations: 4 kB / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3931, allocations: 0 / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/0.3937, allocations: 88.86 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.3943, allocations: 151.8 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.396, allocations: 1.528 MB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.3967, allocations: 103.4 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.3967, allocations: 31.97 kB / 1.23 GB, free: 4.633 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.0003257/0.3971, allocations: 283.7 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3972, allocations: 82.97 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.3994, allocations: 1.101 MB / 1.231 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.3994, allocations: 15.94 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3995, allocations: 7.984 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3995, allocations: 3.984 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.4024, allocations: 2.012 MB / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4024, allocations: 0 / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.403, allocations: 147.8 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.4034, allocations: 88.77 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.4035, allocations: 27.98 kB / 1.233 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.4052, allocations: 1.544 MB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4052, allocations: 3.938 kB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.4071, allocations: 1.027 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.4074, allocations: 295.6 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.4075, allocations: 27.88 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/0.4082, allocations: 83.92 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.4084, allocations: 72.83 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.4084, allocations: 35.98 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005029/0.4089, allocations: 471 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4089, allocations: 0 / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006961/0.4097, allocations: 339.1 kB / 1.237 GB, free: 12.75 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.003153/0.4128, allocations: 2.088 MB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.4143, allocations: 0.8197 MB / 1.24 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4143, allocations: 3.938 kB / 1.24 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008532/0.4151, allocations: 0.5354 MB / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4163, allocations: 276 kB / 1.241 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4265, allocations: 7.135 MB / 1.248 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.4271, allocations: 1.04 MB / 1.249 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000753/0.4278, allocations: 278.8 kB / 1.249 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.4283, allocations: 407.3 kB / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.4283, allocations: 0 / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.96/4.388, allocations: 20.92 MB / 1.27 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/4.388, allocations: 324.9 kB / 1.27 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/6.9, allocations: 2.578 kB / 1.27 GB, free: 184.2 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)