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.001779/0.001779, 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.001971/0.001971, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002992/0.002992, allocations: 298.6 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 99.78 kB / 0.6065 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.174, allocations: 89.15 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007278/0.1813, allocations: 4.973 MB / 0.6985 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4951/0.6764, allocations: 150.8 MB / 0.8457 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.6775, allocations: 19.41 kB / 0.8458 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008682/0.6784, allocations: 190.7 kB / 0.8459 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.6808, allocations: 0.5726 MB / 0.8465 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.6831, allocations: 0.8466 MB / 0.8473 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.685, allocations: 1.44 MB / 0.8487 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000973/0.686, allocations: 0.5866 MB / 0.8493 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.6869, allocations: 0.5074 MB / 0.8498 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.6876, allocations: 0.5314 MB / 0.8503 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.6878, allocations: 124.4 kB / 0.8504 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009605/0.6888, allocations: 469.4 kB / 0.8509 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.6891, allocations: 306.4 kB / 0.8512 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006129/0.6897, allocations: 0.5803 MB / 0.8517 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.6919, allocations: 1.649 MB / 0.8534 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6919, allocations: 0 / 0.8534 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.692, allocations: 0 / 0.8534 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.692, allocations: 4 kB / 0.8534 GB, free: 1.855 MB / 0.5762 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.002882/0.6949, allocations: 1.487 MB / 0.8548 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6949, allocations: 7.031 kB / 0.8548 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.6951, allocations: 140.1 kB / 0.855 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/0.696, allocations: 195.8 kB / 0.8551 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6972, allocations: 0.7596 MB / 0.8559 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.6972, allocations: 65.19 kB / 0.8559 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6973, allocations: 89.95 kB / 0.856 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.699, allocations: 0.9676 MB / 0.857 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.699, allocations: 0 / 0.857 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.372e-05/0.6991, allocations: 36.06 kB / 0.857 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.6991, allocations: 22.72 kB / 0.857 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.7009, allocations: 1.163 MB / 0.8582 GB, free: 14.59 MB / 0.5919 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.004657/0.7056, allocations: 2.886 MB / 0.861 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7072, allocations: 0.8476 MB / 0.8618 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.7078, allocations: 319.9 kB / 0.8621 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.7079, allocations: 37.14 kB / 0.8622 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.7089, allocations: 0.5344 MB / 0.8627 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 3.656e-06/0.7089, allocations: 0 / 0.8627 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003519/0.7124, allocations: 1.294 MB / 0.8639 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7126, allocations: 195.3 kB / 0.8641 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000919/0.7135, allocations: 0.6487 MB / 0.8648 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.7136, allocations: 42.73 kB / 0.8648 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.714, allocations: 406.7 kB / 0.8652 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.7143, allocations: 287.1 kB / 0.8655 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.7146, allocations: 162.7 kB / 0.8656 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002467/0.7148, allocations: 395.8 kB / 0.866 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.7154, allocations: 277.9 kB / 0.8663 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.7161, allocations: 386.9 kB / 0.8666 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7173, allocations: 0.632 MB / 0.8672 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7173, allocations: 3.656 kB / 0.8672 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002145/0.7195, allocations: 0.8615 MB / 0.8681 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.7195, allocations: 11.03 kB / 0.8681 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.7195, allocations: 8.031 kB / 0.8681 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.7201, allocations: 83.89 kB / 0.8682 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.7208, allocations: 169.7 kB / 0.8683 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.7232, allocations: 1.627 MB / 0.8699 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/0.724, allocations: 95.94 kB / 0.87 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.7241, allocations: 34.33 kB / 0.8701 GB, free: 5.992 MB / 0.5919 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.0005336/0.7246, allocations: 281 kB / 0.8703 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.7249, allocations: 85.81 kB / 0.8704 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.7276, allocations: 1.169 MB / 0.8716 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.7277, allocations: 12 kB / 0.8716 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7277, allocations: 0 / 0.8716 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.7277, allocations: 3.984 kB / 0.8716 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.7291, allocations: 0.962 MB / 0.8725 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.7291, allocations: 0 / 0.8725 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.7298, allocations: 155.8 kB / 0.8727 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/0.7303, allocations: 76.78 kB / 0.8727 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/0.7304, allocations: 31.92 kB / 0.8728 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.7325, allocations: 1.658 MB / 0.8744 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7325, allocations: 1.562 kB / 0.8744 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.7349, allocations: 0.998 MB / 0.8754 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.7354, allocations: 283.6 kB / 0.8756 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.7356, allocations: 20 kB / 0.8756 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.7363, allocations: 77.73 kB / 0.8757 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.7365, allocations: 72.89 kB / 0.8758 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.7366, allocations: 39.97 kB / 0.8758 GB, free: 36 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007643/0.7374, allocations: 483.1 kB / 0.8763 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7374, allocations: 0 / 0.8763 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001098/0.7385, allocations: 335.2 kB / 0.8766 GB, free: 15.24 MB / 0.6075 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.004626/0.7431, allocations: 2.051 MB / 0.8786 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003009/0.7462, allocations: 1.081 MB / 0.8797 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.7462, allocations: 4 kB / 0.8797 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.7474, allocations: 0.547 MB / 0.8802 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.7489, allocations: 307.6 kB / 0.8805 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.7614, allocations: 6.746 MB / 0.8871 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.7622, allocations: 1.051 MB / 0.8881 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009762/0.7632, allocations: 275.1 kB / 0.8884 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/0.7638, allocations: 407.2 kB / 0.8888 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of SimCode: time 1.283e-06/0.7638, allocations: 0 / 0.8888 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/0.8251, allocations: 22.52 MB / 0.9108 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.02, allocations: 8.328 kB / 0.9108 GB, free: 12.63 MB / 0.6387 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)