Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001637/0.001637, 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.001722/0.001722, allocations: 198.2 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.468/2.468, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 67.89 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2324, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006078/0.2385, allocations: 4.916 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.3882, allocations: 150.6 MB / 1.216 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.3889, allocations: 19.88 kB / 1.216 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.3894, allocations: 194.2 kB / 1.216 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3908, allocations: 0.5475 MB / 1.217 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.3924, allocations: 0.8506 MB / 1.218 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.3936, allocations: 1.409 MB / 1.219 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.3944, allocations: 0.5948 MB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/0.3949, allocations: 498.3 kB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.3955, allocations: 0.5173 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.3957, allocations: 120 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.3963, allocations: 459.6 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.3966, allocations: 307.1 kB / 1.221 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.3971, allocations: 0.5791 MB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.3987, allocations: 1.62 MB / 1.223 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3987, allocations: 0 / 1.223 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3987, allocations: 0 / 1.223 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.3988, allocations: 4 kB / 1.223 GB, free: 10.33 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002356/0.4011, allocations: 1.463 MB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.4012, allocations: 12.03 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.4013, allocations: 135.5 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.4022, allocations: 187.4 kB / 1.225 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.4031, allocations: 0.7583 MB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.4032, allocations: 70 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.4033, allocations: 76 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4048, allocations: 0.9457 MB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4048, allocations: 0 / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/0.4049, allocations: 43.98 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.4049, allocations: 20 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.4067, allocations: 1.124 MB / 1.228 GB, free: 5.359 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.003692/0.4104, allocations: 2.751 MB / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.4119, allocations: 0.912 MB / 1.232 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.4124, allocations: 314.7 kB / 1.232 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.932e-05/0.4125, allocations: 40.62 kB / 1.232 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/0.4134, allocations: 0.5119 MB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 1.733e-06/0.4134, allocations: 0 / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.00303/0.4164, allocations: 1.251 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.4166, allocations: 200.9 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/0.4173, allocations: 0.6371 MB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.4174, allocations: 49.64 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.4177, allocations: 400.5 kB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.4179, allocations: 268.1 kB / 1.235 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.4181, allocations: 154.5 kB / 1.235 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.4183, allocations: 386.8 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.4188, allocations: 253.9 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.4194, allocations: 378.5 kB / 1.236 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4205, allocations: 0.5969 MB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4205, allocations: 4 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001758/0.4223, allocations: 0.8254 MB / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4223, allocations: 7.938 kB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4223, allocations: 0 / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/0.4228, allocations: 88.8 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.4235, allocations: 155.8 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.4254, allocations: 1.626 MB / 1.24 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.426, allocations: 99.28 kB / 1.24 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.4261, allocations: 32.05 kB / 1.24 GB, free: 9.004 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.000345/0.4264, allocations: 273.5 kB / 1.24 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.4266, allocations: 86.97 kB / 1.24 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.4289, allocations: 1.144 MB / 1.241 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.429, allocations: 8 kB / 1.241 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.429, allocations: 7.938 kB / 1.241 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.429, allocations: 3.984 kB / 1.241 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/0.4321, allocations: 2.012 MB / 1.243 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4321, allocations: 0 / 1.243 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.4326, allocations: 151.8 kB / 1.243 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.4331, allocations: 80.72 kB / 1.243 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.4331, allocations: 27.98 kB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.4349, allocations: 1.666 MB / 1.245 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4349, allocations: 0 / 1.245 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.4369, allocations: 1.047 MB / 1.246 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.4372, allocations: 275.7 kB / 1.246 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.4373, allocations: 24 kB / 1.246 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.438, allocations: 67.92 kB / 1.247 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.4381, allocations: 76.89 kB / 1.247 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/0.4382, allocations: 39.91 kB / 1.247 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005377/0.4387, allocations: 467 kB / 1.247 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.4388, allocations: 0 / 1.247 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007135/0.4395, allocations: 335.2 kB / 1.247 GB, free: 0.9805 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.3786/0.818, allocations: 2.091 MB / 1.249 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002394/0.8205, allocations: 1.049 MB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.8205, allocations: 1.188 kB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009015/0.8214, allocations: 0.5375 MB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8227, allocations: 305 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008497/0.8312, allocations: 6.615 MB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.8315, allocations: 1.034 MB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006862/0.8322, allocations: 272.7 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/0.8326, allocations: 411.2 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.8326, allocations: 0 / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3183/1.151, allocations: 22.02 MB / 1.281 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/17.06, allocations: 5.984 kB / 1.281 GB, free: 176.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)