Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_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.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001262/0.001262, allocations: 192.8 kB / 16.13 MB, free: 6.645 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.323/2.323, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5419, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006109/0.5481, allocations: 4.94 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.6886, allocations: 148.3 MB / 1.166 GB, free: 8.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008355/0.6894, allocations: 23.88 kB / 1.166 GB, free: 8.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.69, allocations: 150.8 kB / 1.167 GB, free: 8.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.6914, allocations: 481.5 kB / 1.167 GB, free: 8.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.6929, allocations: 0.74 MB / 1.168 GB, free: 7.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.6939, allocations: 1.335 MB / 1.169 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007196/0.6946, allocations: 0.5728 MB / 1.17 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.6951, allocations: 434.2 kB / 1.17 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.6956, allocations: 497.7 kB / 1.17 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.6957, allocations: 56 kB / 1.171 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.6964, allocations: 399.6 kB / 1.171 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.6966, allocations: 247 kB / 1.171 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.697, allocations: 0.5089 MB / 1.172 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.6983, allocations: 1.577 MB / 1.173 GB, free: 1.965 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6983, allocations: 3.938 kB / 1.173 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6983, allocations: 0 / 1.173 GB, free: 1.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.6983, allocations: 4 kB / 1.173 GB, free: 1.957 MB / 0.92 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.002393/0.7007, allocations: 1.457 MB / 1.175 GB, free: 452 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.7008, allocations: 8.031 kB / 1.175 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.7009, allocations: 135.5 kB / 1.175 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008285/0.7018, allocations: 191.4 kB / 1.175 GB, free: 108 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.7027, allocations: 0.7583 MB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.7028, allocations: 58 kB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.784e-05/0.7029, allocations: 84 kB / 1.176 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.7043, allocations: 0.9456 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.7043, allocations: 0 / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.7044, allocations: 40 kB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.7044, allocations: 27.92 kB / 1.177 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.706, allocations: 1.128 MB / 1.178 GB, free: 12.98 MB / 0.9356 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.00345/0.7095, allocations: 2.751 MB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.7109, allocations: 0.9046 MB / 1.181 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.7114, allocations: 310.7 kB / 1.182 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.075e-05/0.7115, allocations: 36.67 kB / 1.182 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008457/0.7123, allocations: 0.5159 MB / 1.182 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.864e-06/0.7124, allocations: 0 / 1.182 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.002943/0.7153, allocations: 1.251 MB / 1.184 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.7154, allocations: 188.9 kB / 1.184 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.7161, allocations: 0.6449 MB / 1.184 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.7161, allocations: 41.7 kB / 1.184 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.7164, allocations: 404.4 kB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.7166, allocations: 276 kB / 1.185 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.7168, allocations: 154.5 kB / 1.185 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.717, allocations: 386.8 kB / 1.186 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.7174, allocations: 257.9 kB / 1.186 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.718, allocations: 374.5 kB / 1.186 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.719, allocations: 0.6008 MB / 1.187 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7191, allocations: 4 kB / 1.187 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001774/0.7208, allocations: 0.8292 MB / 1.188 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7209, allocations: 13.34 kB / 1.188 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7209, allocations: 0 / 1.188 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.7214, allocations: 84.81 kB / 1.188 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.7221, allocations: 155.8 kB / 1.188 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.7239, allocations: 1.539 MB / 1.189 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.7245, allocations: 89.86 kB / 1.189 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.7246, allocations: 31.97 kB / 1.189 GB, free: 0.7383 MB / 0.9356 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.000353/0.7249, allocations: 265.6 kB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.7251, allocations: 86.97 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.7274, allocations: 1.14 MB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.7274, allocations: 8 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.7275, allocations: 0 / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7275, allocations: 7.922 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.7304, allocations: 2.027 MB / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7305, allocations: 0 / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.731, allocations: 155.8 kB / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.7315, allocations: 80.78 kB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.7316, allocations: 27.97 kB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.7332, allocations: 1.548 MB / 1.195 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7332, allocations: 0 / 1.195 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.7351, allocations: 1.043 MB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.7354, allocations: 283.6 kB / 1.196 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.7356, allocations: 23.94 kB / 1.196 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.7363, allocations: 71.92 kB / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.7364, allocations: 72.89 kB / 1.196 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.7365, allocations: 39.97 kB / 1.196 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005015/0.737, allocations: 467 kB / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.737, allocations: 0 / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007849/0.7378, allocations: 335.2 kB / 1.197 GB, free: 8.828 MB / 0.9512 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.003164/0.741, allocations: 2.094 MB / 1.199 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.7424, allocations: 0.8275 MB / 1.2 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7425, allocations: 0 / 1.2 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.7433, allocations: 0.547 MB / 1.2 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.7444, allocations: 272.6 kB / 1.201 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.7548, allocations: 7.016 MB / 1.207 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.7553, allocations: 1.032 MB / 1.208 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000799/0.7562, allocations: 278.9 kB / 1.209 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.7567, allocations: 411.2 kB / 1.209 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.7567, allocations: 0 / 1.209 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.356/4.113, allocations: 21.18 MB / 1.23 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/4.113, allocations: 315.6 kB / 1.23 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/7.175, allocations: 0 / 1.23 GB, free: 7.156 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)