Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_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.001308/0.001308, allocations: 108 kB / 15.61 MB, free: 148 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.001341/0.001341, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.00253, allocations: 282.5 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5073 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004337/0.004337, allocations: 94.34 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1748, allocations: 89.15 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007158/0.182, allocations: 4.848 MB / 0.6983 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4304/0.6124, allocations: 150.6 MB / 0.8454 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007129/0.6132, allocations: 20.25 kB / 0.8454 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.6137, allocations: 186.8 kB / 0.8456 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.6153, allocations: 0.5432 MB / 0.8461 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.6172, allocations: 0.8159 MB / 0.8469 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.6185, allocations: 1.378 MB / 0.8483 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008403/0.6194, allocations: 0.5692 MB / 0.8488 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.6199, allocations: 488.3 kB / 0.8493 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.6205, allocations: 0.4961 MB / 0.8498 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.6207, allocations: 114.2 kB / 0.8499 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007895/0.6215, allocations: 458.5 kB / 0.8503 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.6218, allocations: 295.1 kB / 0.8506 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.6223, allocations: 0.5511 MB / 0.8511 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.624, allocations: 1.58 MB / 0.8527 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.624, allocations: 3.938 kB / 0.8527 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.624, allocations: 7.75 kB / 0.8527 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.6241, allocations: 0 / 0.8527 GB, free: 2.336 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002596/0.6267, allocations: 1.432 MB / 0.8541 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.6267, allocations: 13.53 kB / 0.8541 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.6269, allocations: 132.3 kB / 0.8542 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.6278, allocations: 186.7 kB / 0.8544 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.629, allocations: 0.7323 MB / 0.8551 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.629, allocations: 74.72 kB / 0.8552 GB, free: 376 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.963e-05/0.6291, allocations: 76.19 kB / 0.8553 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.6307, allocations: 0.9153 MB / 0.8562 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.6307, allocations: 0 / 0.8562 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.6308, allocations: 33.69 kB / 0.8562 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.6308, allocations: 20.62 kB / 0.8562 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.6326, allocations: 1.107 MB / 0.8573 GB, free: 15.2 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.004172/0.6368, allocations: 2.71 MB / 0.8599 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.6383, allocations: 0.794 MB / 0.8607 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.6388, allocations: 302.6 kB / 0.861 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.315e-05/0.6389, allocations: 29.5 kB / 0.861 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009169/0.6398, allocations: 0.4905 MB / 0.8615 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.465e-06/0.6398, allocations: 4 kB / 0.8615 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003277/0.6431, allocations: 1.19 MB / 0.8627 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6433, allocations: 192.2 kB / 0.8629 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.6441, allocations: 0.6298 MB / 0.8635 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.6442, allocations: 46.45 kB / 0.8635 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.6445, allocations: 396.4 kB / 0.8639 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.6448, allocations: 257 kB / 0.8641 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.645, allocations: 147 kB / 0.8643 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.6452, allocations: 390.8 kB / 0.8647 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.6457, allocations: 247.7 kB / 0.8649 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.6464, allocations: 356.2 kB / 0.8652 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6475, allocations: 0.5839 MB / 0.8658 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6475, allocations: 0 / 0.8658 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001938/0.6494, allocations: 0.8074 MB / 0.8666 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6494, allocations: 5.031 kB / 0.8666 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6495, allocations: 5.469 kB / 0.8666 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.6501, allocations: 80.08 kB / 0.8667 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.6507, allocations: 157 kB / 0.8668 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.6531, allocations: 1.63 MB / 0.8684 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.6539, allocations: 83 kB / 0.8685 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.654, allocations: 31.86 kB / 0.8685 GB, free: 6.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: 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 (87): * Single equations (assignments): 86 * 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.0004909/0.6545, allocations: 274.4 kB / 0.8688 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.6547, allocations: 86.92 kB / 0.8689 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.6571, allocations: 1.06 MB / 0.8699 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.6572, allocations: 10.06 kB / 0.8699 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6572, allocations: 0 / 0.8699 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.6572, allocations: 11.91 kB / 0.8699 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6584, allocations: 0.8922 MB / 0.8708 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6585, allocations: 0 / 0.8708 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.6591, allocations: 143.8 kB / 0.8709 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.6596, allocations: 72.8 kB / 0.871 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.6596, allocations: 27.97 kB / 0.871 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.6619, allocations: 1.658 MB / 0.8727 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6619, allocations: 4.031 kB / 0.8727 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.6641, allocations: 0.92 MB / 0.8736 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/0.6646, allocations: 279.7 kB / 0.8738 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6647, allocations: 23.94 kB / 0.8738 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/0.6654, allocations: 65.48 kB / 0.8739 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.6656, allocations: 64.91 kB / 0.874 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/0.6657, allocations: 39.97 kB / 0.874 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006407/0.6663, allocations: 459 kB / 0.8744 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.256e-06/0.6663, allocations: 0 / 0.8744 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008884/0.6672, allocations: 319.3 kB / 0.8747 GB, free: 1.078 MB / 0.5919 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 (91): * Single equations (assignments): 85 * 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.004264/0.6715, allocations: 1.985 MB / 0.8767 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.674, allocations: 0.9924 MB / 0.8777 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6741, allocations: 4 kB / 0.8777 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.6751, allocations: 0.5159 MB / 0.8782 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6763, allocations: 292.1 kB / 0.8784 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.6872, allocations: 6.352 MB / 0.8846 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007102/0.688, allocations: 1.016 MB / 0.8856 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009007/0.6889, allocations: 262.6 kB / 0.8859 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.6895, allocations: 387.2 kB / 0.8863 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.6895, allocations: 0 / 0.8863 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/0.748, allocations: 21.29 MB / 0.907 GB, free: 448 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.71, allocations: 14.69 kB / 0.9071 GB, free: 436 kB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)