Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_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.001397/0.001397, allocations: 108 kB / 15.61 MB, free: 152 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.001319/0.001319, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 69.58 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.237, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006293/0.2433, allocations: 5.12 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1495/0.3929, allocations: 150.7 MB / 1.216 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.3936, allocations: 19.88 kB / 1.216 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.3942, allocations: 206.1 kB / 1.216 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.3959, allocations: 0.5633 MB / 1.217 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.3977, allocations: 0.8466 MB / 1.218 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.3992, allocations: 1.429 MB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.4001, allocations: 0.6521 MB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006468/0.4008, allocations: 0.5061 MB / 1.22 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006727/0.4015, allocations: 0.5446 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.4017, allocations: 124 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007814/0.4024, allocations: 471.5 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.4027, allocations: 315 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005706/0.4033, allocations: 0.6064 MB / 1.222 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.405, allocations: 1.694 MB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.405, allocations: 4 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.61e-07/0.405, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.4051, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 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.002519/0.4076, allocations: 1.5 MB / 1.225 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.4076, allocations: 16.02 kB / 1.225 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.4078, allocations: 144.1 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4088, allocations: 219.2 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/0.4098, allocations: 0.7575 MB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.4099, allocations: 73.98 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.41, allocations: 92 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.4116, allocations: 1.007 MB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.4116, allocations: 4 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.483e-05/0.4117, allocations: 39.94 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.4117, allocations: 27.98 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.4136, allocations: 1.167 MB / 1.229 GB, free: 4.648 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.003914/0.4175, allocations: 2.898 MB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.4198, allocations: 0.9711 MB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.4204, allocations: 318.7 kB / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/0.4205, allocations: 32.59 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/0.4213, allocations: 0.4953 MB / 1.233 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 1.693e-06/0.4214, allocations: 0 / 1.233 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003048/0.4244, allocations: 1.237 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.4245, allocations: 192.6 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.4253, allocations: 0.6372 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.4253, allocations: 41.7 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.4257, allocations: 424.2 kB / 1.236 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.4259, allocations: 268.1 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.4261, allocations: 150.5 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4263, allocations: 390.7 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.4268, allocations: 257.9 kB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.4274, allocations: 362.5 kB / 1.237 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4286, allocations: 0.6033 MB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4286, allocations: 0 / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001837/0.4304, allocations: 0.8331 MB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4305, allocations: 4 kB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4305, allocations: 0 / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/0.431, allocations: 80.88 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.4316, allocations: 159.8 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.4336, allocations: 1.632 MB / 1.241 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.4342, allocations: 100.6 kB / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.4343, allocations: 31.98 kB / 1.241 GB, free: 8.113 MB / 0.9981 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.0003476/0.4346, allocations: 273.8 kB / 1.241 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4348, allocations: 79.12 kB / 1.241 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.4371, allocations: 1.105 MB / 1.242 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4372, allocations: 16 kB / 1.242 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.4372, allocations: 0 / 1.242 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4372, allocations: 3.984 kB / 1.242 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.4403, allocations: 2 MB / 1.244 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4403, allocations: 0 / 1.244 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.4409, allocations: 155.8 kB / 1.244 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.4413, allocations: 72.78 kB / 1.244 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.4414, allocations: 23.98 kB / 1.244 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.4432, allocations: 1.674 MB / 1.246 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4433, allocations: 0 / 1.246 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.4452, allocations: 1.016 MB / 1.247 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.4456, allocations: 279.7 kB / 1.247 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.4457, allocations: 23.88 kB / 1.247 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.4463, allocations: 63.92 kB / 1.247 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.4465, allocations: 72.91 kB / 1.247 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.4465, allocations: 39.91 kB / 1.247 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005314/0.4471, allocations: 471 kB / 1.248 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4471, allocations: 0 / 1.248 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007123/0.4478, allocations: 339.1 kB / 1.248 GB, free: 180 kB / 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.379/0.8268, allocations: 2.051 MB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.829, allocations: 1.026 MB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.829, allocations: 1.219 kB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.8299, allocations: 0.5295 MB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.831, allocations: 313 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007932/0.8389, allocations: 6.679 MB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.8392, allocations: 1.047 MB / 1.26 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006725/0.8399, allocations: 269.2 kB / 1.26 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.8403, allocations: 405.2 kB / 1.26 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.8403, allocations: 0 / 1.26 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.569/3.409, allocations: 22.02 MB / 1.282 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.64/27.05, allocations: 10.94 kB / 1.282 GB, free: 176.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)