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.001293/0.001293, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001289/0.001289, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.372/2.372, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.14 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2446, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.009502/0.2541, allocations: 5.132 MB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.3822, allocations: 148.4 MB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.3829, allocations: 15.94 kB / 1.202 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.3834, allocations: 154.8 kB / 1.203 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.3848, allocations: 0.4993 MB / 1.203 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3864, allocations: 0.7586 MB / 1.204 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3874, allocations: 1.436 MB / 1.205 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007532/0.3882, allocations: 0.6365 MB / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.3887, allocations: 0.5217 MB / 1.206 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.3892, allocations: 0.5484 MB / 1.207 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.3893, allocations: 128 kB / 1.207 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006271/0.3899, allocations: 467.7 kB / 1.207 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.3902, allocations: 318.9 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.3906, allocations: 0.6064 MB / 1.208 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.3919, allocations: 1.694 MB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3919, allocations: 0 / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3919, allocations: 0 / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.392, allocations: 4 kB / 1.21 GB, free: 6.664 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.002211/0.3942, allocations: 1.5 MB / 1.211 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.3942, allocations: 8.625 kB / 1.211 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.3944, allocations: 152.1 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.3954, allocations: 211.3 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008825/0.3963, allocations: 0.7653 MB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.3963, allocations: 73.98 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.3964, allocations: 92 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.398, allocations: 1.003 MB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.398, allocations: 0 / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.3981, allocations: 40 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.3981, allocations: 24 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.3998, allocations: 1.179 MB / 1.215 GB, free: 1.492 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.003635/0.4035, allocations: 2.885 MB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.4057, allocations: 0.9784 MB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.4062, allocations: 314.7 kB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.4063, allocations: 36.59 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008362/0.4071, allocations: 0.4952 MB / 1.219 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.114e-06/0.4071, allocations: 3.938 kB / 1.219 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.002999/0.4102, allocations: 1.237 MB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.4102, allocations: 188.6 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.4109, allocations: 0.6372 MB / 1.221 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.411, allocations: 41.7 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.4112, allocations: 428.2 kB / 1.222 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.4114, allocations: 272.1 kB / 1.222 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.4116, allocations: 146.5 kB / 1.222 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4118, allocations: 390.7 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.4123, allocations: 253.9 kB / 1.223 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.4128, allocations: 370.5 kB / 1.223 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.4139, allocations: 0.6033 MB / 1.224 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4139, allocations: 0 / 1.224 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001727/0.4156, allocations: 0.8253 MB / 1.225 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4156, allocations: 4 kB / 1.225 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4157, allocations: 4.094 kB / 1.225 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.4162, allocations: 80.7 kB / 1.225 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.4169, allocations: 159.8 kB / 1.225 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.4187, allocations: 1.629 MB / 1.227 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.4194, allocations: 97.12 kB / 1.227 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.4194, allocations: 31.92 kB / 1.227 GB, free: 4.961 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.0003393/0.4198, allocations: 285.6 kB / 1.227 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.4199, allocations: 82.97 kB / 1.227 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.4222, allocations: 1.097 MB / 1.228 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4222, allocations: 12 kB / 1.228 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.4222, allocations: 0 / 1.228 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.4222, allocations: 7.984 kB / 1.228 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.4252, allocations: 2.004 MB / 1.23 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4252, allocations: 0 / 1.23 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.4258, allocations: 155.7 kB / 1.23 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.4262, allocations: 68.8 kB / 1.23 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.4262, allocations: 31.97 kB / 1.23 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.4279, allocations: 1.658 MB / 1.232 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4279, allocations: 8.031 kB / 1.232 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.4298, allocations: 1.019 MB / 1.233 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.4301, allocations: 279.7 kB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.4302, allocations: 19.94 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.4309, allocations: 67.92 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4311, allocations: 68.91 kB / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.4311, allocations: 47.91 kB / 1.233 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004847/0.4316, allocations: 467 kB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4316, allocations: 0 / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007739/0.4324, allocations: 335.1 kB / 1.234 GB, free: 13.02 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.003297/0.4357, allocations: 2.081 MB / 1.236 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.4379, allocations: 1.023 MB / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4379, allocations: 0 / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008719/0.4388, allocations: 0.5314 MB / 1.238 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4399, allocations: 309.5 kB / 1.238 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4507, allocations: 7.089 MB / 1.245 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.4512, allocations: 1.044 MB / 1.246 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008195/0.452, allocations: 266.9 kB / 1.246 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.4526, allocations: 403.3 kB / 1.247 GB, free: 248 kB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.4526, allocations: 0 / 1.247 GB, free: 248 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7635/1.216, allocations: 21.84 MB / 1.268 GB, free: 189 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.216, allocations: 327.1 kB / 1.268 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.472, allocations: 5.5 kB / 1.268 GB, free: 188.6 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)