Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001567/0.001567, 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.001528/0.001528, allocations: 193.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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002612/0.002612, allocations: 275 kB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.6 MB / 0.5073 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 97.12 kB / 0.6065 GB, free: 24.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1438, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008065/0.1519, allocations: 5.963 MB / 0.6994 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.394/0.5459, allocations: 150.8 MB / 0.8467 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006902/0.5467, allocations: 16.31 kB / 0.8467 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.5473, allocations: 235.8 kB / 0.847 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.5489, allocations: 0.6323 MB / 0.8476 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.5508, allocations: 0.8646 MB / 0.8484 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.5523, allocations: 1.64 MB / 0.85 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.5534, allocations: 0.8635 MB / 0.8509 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.554, allocations: 0.6104 MB / 0.8515 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007221/0.5547, allocations: 0.6667 MB / 0.8521 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.5549, allocations: 154.6 kB / 0.8523 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007206/0.5556, allocations: 489.2 kB / 0.8527 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.556, allocations: 378.8 kB / 0.8531 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006765/0.5567, allocations: 0.7338 MB / 0.8538 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.5586, allocations: 1.989 MB / 0.8558 GB, free: 56 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5586, allocations: 4 kB / 0.8558 GB, free: 52 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5586, allocations: 0 / 0.8558 GB, free: 52 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.5586, allocations: 0 / 0.8558 GB, free: 52 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00288/0.5615, allocations: 1.725 MB / 0.8574 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.5616, allocations: 10.16 kB / 0.8575 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.5618, allocations: 177.9 kB / 0.8576 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.5627, allocations: 222.9 kB / 0.8578 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.5639, allocations: 0.8456 MB / 0.8587 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.564, allocations: 94.41 kB / 0.8588 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.5641, allocations: 123.3 kB / 0.8589 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.5661, allocations: 1.199 MB / 0.86 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.5661, allocations: 0 / 0.86 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5662, allocations: 53.89 kB / 0.8601 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.5663, allocations: 29.97 kB / 0.8601 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.5683, allocations: 1.285 MB / 0.8614 GB, free: 12.27 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.005089/0.5734, allocations: 3.588 MB / 0.8649 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.575, allocations: 0.8691 MB / 0.8657 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/0.5756, allocations: 324.2 kB / 0.866 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.5757, allocations: 27.06 kB / 0.8661 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009535/0.5766, allocations: 0.5254 MB / 0.8666 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 2.825e-06/0.5767, allocations: 0 / 0.8666 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003371/0.58, allocations: 1.283 MB / 0.8678 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5802, allocations: 195 kB / 0.868 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008843/0.5811, allocations: 0.7352 MB / 0.8687 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/0.5811, allocations: 42.39 kB / 0.8688 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.5816, allocations: 0.5157 MB / 0.8693 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.5819, allocations: 286.9 kB / 0.8696 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.5821, allocations: 156 kB / 0.8697 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5823, allocations: 345.1 kB / 0.87 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.5828, allocations: 273.7 kB / 0.8703 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.5835, allocations: 381.3 kB / 0.8707 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5848, allocations: 0.6333 MB / 0.8713 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5848, allocations: 0 / 0.8713 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002155/0.587, allocations: 0.8726 MB / 0.8721 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.587, allocations: 11.98 kB / 0.8721 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.587, allocations: 0 / 0.8721 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/0.5877, allocations: 84.81 kB / 0.8722 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.5884, allocations: 173.8 kB / 0.8724 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.5907, allocations: 1.63 MB / 0.874 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.5914, allocations: 96.27 kB / 0.8741 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.5915, allocations: 31.97 kB / 0.8741 GB, free: 1.93 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: 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 (96): * Single equations (assignments): 95 * 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.0004299/0.5919, allocations: 293.7 kB / 0.8744 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.5921, allocations: 94.78 kB / 0.8745 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.5948, allocations: 1.132 MB / 0.8756 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5948, allocations: 11.94 kB / 0.8756 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5948, allocations: 0 / 0.8756 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.5949, allocations: 3.984 kB / 0.8756 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5962, allocations: 1.048 MB / 0.8766 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5962, allocations: 0 / 0.8766 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.5969, allocations: 159.8 kB / 0.8768 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.5974, allocations: 72.78 kB / 0.8768 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.5974, allocations: 27.97 kB / 0.8769 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.5996, allocations: 1.662 MB / 0.8785 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5996, allocations: 0 / 0.8785 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.6018, allocations: 0.994 MB / 0.8795 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.6023, allocations: 291.6 kB / 0.8797 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6024, allocations: 16 kB / 0.8797 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006874/0.6031, allocations: 63.92 kB / 0.8798 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.6033, allocations: 80.83 kB / 0.8799 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.6034, allocations: 35.98 kB / 0.8799 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006948/0.6041, allocations: 0.5107 MB / 0.8804 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6041, allocations: 8 kB / 0.8804 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008424/0.6049, allocations: 382.8 kB / 0.8808 GB, free: 10.82 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: 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.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 (98): * Single equations (assignments): 92 * 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.004353/0.6093, allocations: 2.044 MB / 0.8828 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002579/0.6119, allocations: 1.066 MB / 0.8838 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6119, allocations: 0 / 0.8838 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.613, allocations: 0.5472 MB / 0.8844 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.6143, allocations: 344.9 kB / 0.8847 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.6265, allocations: 7.361 MB / 0.8919 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008068/0.6273, allocations: 1.11 MB / 0.893 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009085/0.6282, allocations: 291.6 kB / 0.8932 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/0.6289, allocations: 483.2 kB / 0.8937 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.6289, allocations: 3.938 kB / 0.8937 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06088/0.6898, allocations: 23.9 MB / 0.917 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.75, allocations: 2.875 kB / 0.9171 GB, free: 6.004 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)