Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.004674/0.004674, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.001308/0.001308, allocations: 201.5 kB / 16.68 MB, free: 5.977 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 282.8 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.042/1.042, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 95.84 kB / 0.6943 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4108, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006735/0.4176, allocations: 4.981 MB / 0.7862 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.5897, allocations: 150.8 MB / 0.9335 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008837/0.5906, allocations: 15.94 kB / 0.9335 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.5913, allocations: 194.1 kB / 0.9337 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.5933, allocations: 0.5898 MB / 0.9342 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.5955, allocations: 0.8427 MB / 0.9351 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.5973, allocations: 1.456 MB / 0.9365 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009109/0.5983, allocations: 0.591 MB / 0.9371 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000754/0.599, allocations: 0.5021 MB / 0.9376 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.5998, allocations: 0.529 MB / 0.9381 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.6, allocations: 123.9 kB / 0.9382 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.601, allocations: 495.5 kB / 0.9387 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.6013, allocations: 307 kB / 0.939 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005958/0.6019, allocations: 0.5791 MB / 0.9395 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.6043, allocations: 1.702 MB / 0.9412 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6043, allocations: 0 / 0.9412 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6043, allocations: 0 / 0.9412 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.6043, allocations: 0 / 0.9412 GB, free: 10.97 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002813/0.6071, allocations: 1.524 MB / 0.9427 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6072, allocations: 8.031 kB / 0.9427 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.6074, allocations: 139.7 kB / 0.9428 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/0.6083, allocations: 196 kB / 0.943 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.6095, allocations: 0.7901 MB / 0.9438 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/0.6096, allocations: 66 kB / 0.9438 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6097, allocations: 84 kB / 0.9439 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.6115, allocations: 0.969 MB / 0.9449 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6115, allocations: 3.938 kB / 0.9449 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.923e-05/0.6116, allocations: 40 kB / 0.9449 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.6116, allocations: 24 kB / 0.9449 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.6136, allocations: 1.155 MB / 0.9461 GB, free: 5.844 MB / 0.7012 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.004531/0.6182, allocations: 2.881 MB / 0.9489 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.6199, allocations: 0.8394 MB / 0.9497 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.6205, allocations: 322.7 kB / 0.95 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-05/0.6206, allocations: 32.67 kB / 0.95 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009797/0.6216, allocations: 0.5448 MB / 0.9506 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.755e-06/0.6216, allocations: 0 / 0.9506 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003532/0.6251, allocations: 1.298 MB / 0.9518 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.6253, allocations: 200.8 kB / 0.952 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/0.6262, allocations: 0.6451 MB / 0.9526 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.6263, allocations: 45.7 kB / 0.9527 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.6266, allocations: 421.1 kB / 0.9531 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.6269, allocations: 293.5 kB / 0.9534 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.6272, allocations: 166.6 kB / 0.9535 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6274, allocations: 386.7 kB / 0.9539 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.628, allocations: 273.8 kB / 0.9542 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/0.6287, allocations: 386.5 kB / 0.9545 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.6299, allocations: 0.6359 MB / 0.9552 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6299, allocations: 0 / 0.9552 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002123/0.6321, allocations: 0.8842 MB / 0.956 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.6321, allocations: 4 kB / 0.956 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6321, allocations: 0 / 0.956 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.6327, allocations: 76.84 kB / 0.9561 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.6334, allocations: 167.8 kB / 0.9563 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.6358, allocations: 1.634 MB / 0.9578 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.6366, allocations: 95.44 kB / 0.9579 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.6367, allocations: 39.97 kB / 0.958 GB, free: 9.184 MB / 0.7169 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 (97): * Single equations (assignments): 96 * 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.0004638/0.6372, allocations: 273.5 kB / 0.9582 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.6374, allocations: 91.39 kB / 0.9583 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.6401, allocations: 1.168 MB / 0.9595 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.6402, allocations: 12 kB / 0.9595 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6402, allocations: 0 / 0.9595 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6402, allocations: 3.984 kB / 0.9595 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.6414, allocations: 0.9426 MB / 0.9604 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6414, allocations: 4 kB / 0.9604 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.6421, allocations: 159.7 kB / 0.9606 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.6426, allocations: 76.72 kB / 0.9606 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.6427, allocations: 27.97 kB / 0.9607 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.6447, allocations: 1.646 MB / 0.9623 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6448, allocations: 7.922 kB / 0.9623 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.6471, allocations: 0.9987 MB / 0.9632 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.6475, allocations: 300 kB / 0.9635 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.6477, allocations: 24 kB / 0.9636 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.6483, allocations: 67.92 kB / 0.9636 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.6485, allocations: 76.89 kB / 0.9637 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.029e-05/0.6486, allocations: 39.97 kB / 0.9637 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006464/0.6493, allocations: 491 kB / 0.9642 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6493, allocations: 0 / 0.9642 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000885/0.6502, allocations: 331.2 kB / 0.9645 GB, free: 2.223 MB / 0.7169 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.004317/0.6545, allocations: 2.051 MB / 0.9665 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.6565, allocations: 0.8624 MB / 0.9674 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6565, allocations: 0 / 0.9674 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6576, allocations: 0.5511 MB / 0.9679 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.6589, allocations: 308.6 kB / 0.9682 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.6704, allocations: 6.54 MB / 0.9746 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.6712, allocations: 1.039 MB / 0.9756 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009062/0.6721, allocations: 279.1 kB / 0.9759 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006294/0.6728, allocations: 407.3 kB / 0.9763 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.6728, allocations: 0 / 0.9763 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05934/0.7321, allocations: 22.76 MB / 0.9985 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.56, allocations: 12.39 kB / 0.9985 GB, free: 15.8 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)