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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001664/0.001664, allocations: 108.6 kB / 15.73 MB, free: 72 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.001719/0.001719, allocations: 183.5 kB / 16.66 MB, free: 6.602 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 68.03 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2353, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005752/0.241, allocations: 4.935 MB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5833/0.8244, allocations: 150.6 MB / 1.318 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005921/0.825, allocations: 19.69 kB / 1.318 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.8255, allocations: 194.5 kB / 1.318 GB, free: 10.13 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.8269, allocations: 0.5521 MB / 1.319 GB, free: 9.891 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.8284, allocations: 0.8532 MB / 1.32 GB, free: 9.727 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.8295, allocations: 1.426 MB / 1.321 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/0.8302, allocations: 0.5892 MB / 1.322 GB, free: 9.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.8306, allocations: 0.494 MB / 1.322 GB, free: 9.203 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.8312, allocations: 0.514 MB / 1.323 GB, free: 9.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.8313, allocations: 117.8 kB / 1.323 GB, free: 9.074 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006954/0.832, allocations: 492.5 kB / 1.323 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.8323, allocations: 305.8 kB / 1.323 GB, free: 8.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004704/0.8327, allocations: 0.5731 MB / 1.324 GB, free: 8.684 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.8345, allocations: 1.676 MB / 1.326 GB, free: 7.973 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.8345, allocations: 0 / 1.326 GB, free: 7.973 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8345, allocations: 1.156 kB / 1.326 GB, free: 7.973 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.8345, allocations: 0 / 1.326 GB, free: 7.973 MB / 1.014 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.002366/0.8369, allocations: 1.501 MB / 1.327 GB, free: 6.945 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.8369, allocations: 8.844 kB / 1.327 GB, free: 6.945 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.8371, allocations: 142.5 kB / 1.327 GB, free: 6.848 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008483/0.8379, allocations: 188.2 kB / 1.327 GB, free: 6.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.839, allocations: 0.7801 MB / 1.328 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/0.8391, allocations: 62.5 kB / 1.328 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.8392, allocations: 83.44 kB / 1.328 GB, free: 6.223 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.8407, allocations: 0.9468 MB / 1.329 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.8407, allocations: 0.9688 kB / 1.329 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.8408, allocations: 41.59 kB / 1.329 GB, free: 5.758 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.8408, allocations: 20.56 kB / 1.329 GB, free: 5.758 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.8424, allocations: 1.13 MB / 1.33 GB, free: 5.492 MB / 1.014 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.003618/0.846, allocations: 2.727 MB / 1.333 GB, free: 3.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.8475, allocations: 0.9086 MB / 1.334 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.848, allocations: 312.9 kB / 1.334 GB, free: 3.312 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.8481, allocations: 33.67 kB / 1.334 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007973/0.8489, allocations: 0.5196 MB / 1.335 GB, free: 3.086 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.767e-06/0.8489, allocations: 7.922 kB / 1.335 GB, free: 3.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.002945/0.8519, allocations: 1.255 MB / 1.336 GB, free: 2.559 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.852, allocations: 192 kB / 1.336 GB, free: 2.336 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.8527, allocations: 0.6362 MB / 1.337 GB, free: 2.055 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.8527, allocations: 46.61 kB / 1.337 GB, free: 2.008 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.853, allocations: 407.9 kB / 1.337 GB, free: 1.688 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.8533, allocations: 283 kB / 1.338 GB, free: 1.465 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.8535, allocations: 158.7 kB / 1.338 GB, free: 1.391 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.8537, allocations: 391.5 kB / 1.338 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.8542, allocations: 257.5 kB / 1.338 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.8547, allocations: 377.4 kB / 1.339 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.8558, allocations: 0.607 MB / 1.339 GB, free: 492 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8558, allocations: 0 / 1.339 GB, free: 492 kB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001725/0.8575, allocations: 0.8332 MB / 1.34 GB, free: 144 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.8576, allocations: 5 kB / 1.34 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8576, allocations: 1.438 kB / 1.34 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.8581, allocations: 86.58 kB / 1.34 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.8587, allocations: 155.8 kB / 1.34 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.8607, allocations: 1.633 MB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.8613, allocations: 93.53 kB / 1.342 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.8613, allocations: 34.09 kB / 1.342 GB, free: 14.52 MB / 1.029 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.0003409/0.8617, allocations: 286.8 kB / 1.342 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.8619, allocations: 88.88 kB / 1.342 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.8641, allocations: 1.135 MB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.8642, allocations: 13.03 kB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.8642, allocations: 1.406 kB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.8642, allocations: 4.359 kB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.8672, allocations: 2.015 MB / 1.346 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8672, allocations: 4 kB / 1.346 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.8677, allocations: 152.5 kB / 1.346 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.8681, allocations: 67.91 kB / 1.346 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.8682, allocations: 36.11 kB / 1.346 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.87, allocations: 1.655 MB / 1.347 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.87, allocations: 5.406 kB / 1.347 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.8719, allocations: 1.052 MB / 1.348 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.8722, allocations: 283.8 kB / 1.349 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.8723, allocations: 20.69 kB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.8729, allocations: 67.06 kB / 1.349 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.8731, allocations: 77.77 kB / 1.349 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.8732, allocations: 43.42 kB / 1.349 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004955/0.8737, allocations: 468.2 kB / 1.349 GB, free: 10.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8737, allocations: 5.094 kB / 1.349 GB, free: 10.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007652/0.8744, allocations: 331 kB / 1.35 GB, free: 10.21 MB / 1.029 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.003773/0.8782, allocations: 2.101 MB / 1.352 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.8797, allocations: 0.8384 MB / 1.353 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8797, allocations: 0 / 1.353 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008732/0.8806, allocations: 0.5443 MB / 1.353 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.8818, allocations: 311.7 kB / 1.353 GB, free: 8.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008901/0.8907, allocations: 6.398 MB / 1.36 GB, free: 4.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.8913, allocations: 1.034 MB / 1.361 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006894/0.892, allocations: 269.3 kB / 1.361 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.8925, allocations: 404.5 kB / 1.361 GB, free: 3.523 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.8925, allocations: 2.844 kB / 1.361 GB, free: 3.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.041/7.933, allocations: 22.25 MB / 1.383 GB, free: 6.367 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.68/31.62, allocations: 7.781 kB / 1.383 GB, free: 6.359 MB / 1.045 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)