Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_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.00152/0.00152, allocations: 108 kB / 15.6 MB, free: 132 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.002027/0.002027, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.467/2.467, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 61.69 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2306, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00601/0.2366, allocations: 4.811 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1467/0.3833, allocations: 150.6 MB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006222/0.384, allocations: 15.94 kB / 1.216 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.3845, allocations: 190.2 kB / 1.216 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.3861, allocations: 0.5474 MB / 1.217 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.3878, allocations: 0.8297 MB / 1.217 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.3892, allocations: 1.374 MB / 1.219 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.39, allocations: 0.5907 MB / 1.219 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005824/0.3906, allocations: 482.4 kB / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.3912, allocations: 0.4979 MB / 1.22 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.3914, allocations: 120 kB / 1.22 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.3921, allocations: 463.6 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.3924, allocations: 291.1 kB / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.3929, allocations: 0.5636 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.3945, allocations: 1.601 MB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3945, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3945, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.3946, allocations: 0 / 1.223 GB, free: 10.61 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002355/0.3969, allocations: 1.434 MB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.397, allocations: 8.031 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.3971, allocations: 139.4 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008396/0.398, allocations: 179.4 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009493/0.3989, allocations: 0.7381 MB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.399, allocations: 73.92 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.3991, allocations: 76 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4005, allocations: 0.9184 MB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4005, allocations: 3.938 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.4006, allocations: 36 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.4006, allocations: 20 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.4023, allocations: 1.108 MB / 1.228 GB, free: 5.734 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.003586/0.4059, allocations: 2.74 MB / 1.23 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.4073, allocations: 0.8888 MB / 1.231 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.4078, allocations: 302.7 kB / 1.232 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.4079, allocations: 32.59 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008002/0.4087, allocations: 499.1 kB / 1.232 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 1.713e-06/0.4087, allocations: 0 / 1.232 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002818/0.4116, allocations: 1.19 MB / 1.233 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.4117, allocations: 192.6 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.4124, allocations: 0.6253 MB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.4124, allocations: 41.7 kB / 1.234 GB, free: 15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.4127, allocations: 392.4 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.4129, allocations: 264.3 kB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.4131, allocations: 146.5 kB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4133, allocations: 394.6 kB / 1.235 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.4138, allocations: 253.8 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.4144, allocations: 358.6 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.4154, allocations: 0.5799 MB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4154, allocations: 0 / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00169/0.4171, allocations: 0.8019 MB / 1.237 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4171, allocations: 5.562 kB / 1.237 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4171, allocations: 4 kB / 1.237 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.4177, allocations: 80.78 kB / 1.237 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.4182, allocations: 147.8 kB / 1.237 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.4202, allocations: 1.642 MB / 1.239 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.4207, allocations: 83.33 kB / 1.239 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.4208, allocations: 36.03 kB / 1.239 GB, free: 9.641 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 (85): * Single equations (assignments): 84 * 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.0003173/0.4211, allocations: 265.6 kB / 1.239 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.4212, allocations: 79.06 kB / 1.24 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.4235, allocations: 1.069 MB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.4235, allocations: 11.94 kB / 1.241 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.4235, allocations: 4 kB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4235, allocations: 3.984 kB / 1.241 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.4264, allocations: 1.958 MB / 1.242 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4264, allocations: 4 kB / 1.242 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.4269, allocations: 147.7 kB / 1.243 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.4273, allocations: 68.78 kB / 1.243 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.4274, allocations: 23.98 kB / 1.243 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.4292, allocations: 1.681 MB / 1.244 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4292, allocations: 0 / 1.244 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.431, allocations: 0.9921 MB / 1.245 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.4314, allocations: 271.7 kB / 1.246 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4315, allocations: 20 kB / 1.246 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.4321, allocations: 65.33 kB / 1.246 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.4322, allocations: 68.91 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.4323, allocations: 47.97 kB / 1.246 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004952/0.4328, allocations: 451 kB / 1.246 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4328, allocations: 0 / 1.246 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006783/0.4335, allocations: 315.2 kB / 1.247 GB, free: 1.859 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 (90): * Single equations (assignments): 84 * 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.3572/0.7906, allocations: 2.028 MB / 1.248 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.793, allocations: 0.9949 MB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7931, allocations: 0.9062 kB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.794, allocations: 0.5178 MB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.7952, allocations: 303.1 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008015/0.8033, allocations: 6.405 MB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.8036, allocations: 1.021 MB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006694/0.8043, allocations: 269.5 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.8047, allocations: 370.4 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.8047, allocations: 0 / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.5/4.305, allocations: 21.35 MB / 1.279 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/17, allocations: 8.453 kB / 1.279 GB, free: 177.8 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)