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.003919/0.003919, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001115/0.001115, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.446/2.446, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 71.88 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6008/0.6025, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005598/0.6081, allocations: 4.911 MB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.76, allocations: 150.6 MB / 1.372 GB, free: 5.898 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000644/0.7607, allocations: 19.94 kB / 1.372 GB, free: 5.879 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.7613, allocations: 190.2 kB / 1.372 GB, free: 5.691 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.7629, allocations: 0.5656 MB / 1.373 GB, free: 5.125 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.7647, allocations: 0.8544 MB / 1.374 GB, free: 4.277 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.7663, allocations: 1.429 MB / 1.375 GB, free: 2.844 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007973/0.7671, allocations: 0.5841 MB / 1.376 GB, free: 2.234 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006402/0.7677, allocations: 0.4982 MB / 1.376 GB, free: 1.734 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006191/0.7683, allocations: 0.5096 MB / 1.377 GB, free: 1.223 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.7685, allocations: 120 kB / 1.377 GB, free: 1.105 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008022/0.7693, allocations: 487.6 kB / 1.377 GB, free: 0.6289 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.7696, allocations: 311 kB / 1.377 GB, free: 332 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005258/0.7702, allocations: 0.5752 MB / 1.378 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.7719, allocations: 1.672 MB / 1.38 GB, free: 14.07 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7719, allocations: 3.938 kB / 1.38 GB, free: 14.07 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/0.772, allocations: 0 / 1.38 GB, free: 14.07 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.772, allocations: 0 / 1.38 GB, free: 14.07 MB / 1.107 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.002491/0.7745, allocations: 1.5 MB / 1.381 GB, free: 12.51 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.7745, allocations: 11.97 kB / 1.381 GB, free: 12.5 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.7747, allocations: 143.5 kB / 1.381 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.7755, allocations: 192 kB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.7766, allocations: 0.7785 MB / 1.382 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.7767, allocations: 66 kB / 1.382 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.7768, allocations: 80 kB / 1.382 GB, free: 11.2 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.7783, allocations: 0.9379 MB / 1.383 GB, free: 10.22 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.7783, allocations: 0 / 1.383 GB, free: 10.22 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.7784, allocations: 44 kB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.7784, allocations: 20 kB / 1.383 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.7802, allocations: 1.124 MB / 1.384 GB, free: 9.027 MB / 1.107 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.003711/0.7839, allocations: 2.745 MB / 1.387 GB, free: 6.168 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.7854, allocations: 0.9085 MB / 1.388 GB, free: 5.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.786, allocations: 310.6 kB / 1.388 GB, free: 4.926 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.691e-05/0.7861, allocations: 40.67 kB / 1.388 GB, free: 4.887 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000836/0.7869, allocations: 0.5084 MB / 1.389 GB, free: 4.363 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 1.964e-06/0.7869, allocations: 0 / 1.389 GB, free: 4.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003048/0.79, allocations: 1.259 MB / 1.39 GB, free: 3.078 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.7901, allocations: 192.9 kB / 1.39 GB, free: 2.848 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.7908, allocations: 0.6411 MB / 1.391 GB, free: 2.199 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.7909, allocations: 49.69 kB / 1.391 GB, free: 2.145 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.7912, allocations: 409 kB / 1.391 GB, free: 1.738 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.7916, allocations: 289.5 kB / 1.392 GB, free: 1.453 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/0.7919, allocations: 146.6 kB / 1.392 GB, free: 1.305 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002496/0.7922, allocations: 394.7 kB / 1.392 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008368/0.793, allocations: 253.9 kB / 1.392 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.7941, allocations: 374.5 kB / 1.393 GB, free: 272 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.7959, allocations: 0.6047 MB / 1.393 GB, free: 15.65 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.796, allocations: 0 / 1.393 GB, free: 15.65 MB / 1.123 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003013/0.799, allocations: 0.8258 MB / 1.394 GB, free: 14.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.799, allocations: 7.938 kB / 1.394 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.799, allocations: 4 kB / 1.394 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008483/0.7999, allocations: 80.86 kB / 1.394 GB, free: 14.72 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.801, allocations: 163.7 kB / 1.394 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.804, allocations: 1.634 MB / 1.396 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.805, allocations: 99.5 kB / 1.396 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8051, allocations: 31.97 kB / 1.396 GB, free: 12.65 MB / 1.123 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.0005262/0.8056, allocations: 266.2 kB / 1.396 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.8058, allocations: 87.44 kB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.8082, allocations: 1.144 MB / 1.398 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8082, allocations: 12 kB / 1.398 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.8082, allocations: 0 / 1.398 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.8082, allocations: 3.984 kB / 1.398 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.8113, allocations: 2.013 MB / 1.399 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8113, allocations: 4 kB / 1.399 GB, free: 9.039 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.8119, allocations: 159.7 kB / 1.4 GB, free: 8.883 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.8123, allocations: 72.8 kB / 1.4 GB, free: 8.809 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.8124, allocations: 31.97 kB / 1.4 GB, free: 8.777 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.8142, allocations: 1.659 MB / 1.401 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.8142, allocations: 0 / 1.401 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.8162, allocations: 1.057 MB / 1.402 GB, free: 5.902 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.8165, allocations: 284.2 kB / 1.403 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.8166, allocations: 24 kB / 1.403 GB, free: 5.582 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.8173, allocations: 68 kB / 1.403 GB, free: 5.516 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.8174, allocations: 80.88 kB / 1.403 GB, free: 5.438 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.8175, allocations: 35.98 kB / 1.403 GB, free: 5.402 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005289/0.818, allocations: 475 kB / 1.403 GB, free: 4.945 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.818, allocations: 3.938 kB / 1.403 GB, free: 4.941 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006936/0.8187, allocations: 331.1 kB / 1.404 GB, free: 4.617 MB / 1.123 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.003854/0.8226, allocations: 2.095 MB / 1.406 GB, free: 2.676 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.8241, allocations: 0.8312 MB / 1.407 GB, free: 1.836 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8242, allocations: 0 / 1.407 GB, free: 1.836 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009153/0.8251, allocations: 0.5472 MB / 1.407 GB, free: 1.273 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.8262, allocations: 323 kB / 1.407 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.8388, allocations: 6.403 MB / 1.414 GB, free: 10.42 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009686/0.8398, allocations: 1.028 MB / 1.415 GB, free: 9.359 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001252/0.8411, allocations: 263 kB / 1.415 GB, free: 9.098 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/0.842, allocations: 411.2 kB / 1.415 GB, free: 8.695 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/0.842, allocations: 0 / 1.415 GB, free: 8.695 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.378/3.22, allocations: 22.25 MB / 1.437 GB, free: 2.805 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/23.83, allocations: 4.062 kB / 1.437 GB, free: 2.801 MB / 1.154 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)