Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.004781/0.004781, allocations: 97.48 kB / 15.73 MB, free: 5.988 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.001281/0.001281, allocations: 192 kB / 16.67 MB, free: 5.918 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 275 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9998/0.9998, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 92.14 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1591, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007194/0.1663, allocations: 5.336 MB / 0.7711 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4581/0.6245, allocations: 151 MB / 0.9185 GB, free: 6.648 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007128/0.6252, allocations: 19.94 kB / 0.9185 GB, free: 6.629 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.6258, allocations: 212 kB / 0.9187 GB, free: 6.422 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.6276, allocations: 0.6295 MB / 0.9194 GB, free: 5.812 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.6297, allocations: 1.005 MB / 0.9203 GB, free: 4.828 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.6316, allocations: 1.811 MB / 0.9221 GB, free: 3.012 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.6331, allocations: 1.172 MB / 0.9232 GB, free: 1.801 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008918/0.634, allocations: 0.7668 MB / 0.924 GB, free: 1.031 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009171/0.6349, allocations: 0.844 MB / 0.9248 GB, free: 188 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.6352, allocations: 220 kB / 0.925 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.6362, allocations: 0.5698 MB / 0.9256 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.6367, allocations: 498.5 kB / 0.9261 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008251/0.6375, allocations: 0.9056 MB / 0.9269 GB, free: 14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.6403, allocations: 2.587 MB / 0.9295 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6403, allocations: 0 / 0.9295 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6403, allocations: 0 / 0.9295 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.429e-05/0.6403, allocations: 0 / 0.9295 GB, free: 11.41 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003678/0.644, allocations: 2.065 MB / 0.9315 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.644, allocations: 12.03 kB / 0.9315 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002776/0.6443, allocations: 228.2 kB / 0.9317 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6453, allocations: 263.6 kB / 0.932 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.6469, allocations: 1.005 MB / 0.933 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.647, allocations: 144.8 kB / 0.9331 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.6472, allocations: 152 kB / 0.9332 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.65, allocations: 1.589 MB / 0.9348 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.6501, allocations: 0 / 0.9348 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.6502, allocations: 60 kB / 0.9348 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.6503, allocations: 40 kB / 0.9349 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.653, allocations: 1.6 MB / 0.9364 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006631/0.6596, allocations: 4.197 MB / 0.9405 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.6617, allocations: 1.092 MB / 0.9416 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.6625, allocations: 439.6 kB / 0.942 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.686e-05/0.6626, allocations: 41.08 kB / 0.9421 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.6639, allocations: 0.7064 MB / 0.9428 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=111): time 2.715e-06/0.6639, allocations: 0 / 0.9428 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111): time 0.004059/0.668, allocations: 1.65 MB / 0.9444 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.6681, allocations: 200.9 kB / 0.9446 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.6693, allocations: 0.8417 MB / 0.9454 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6695, allocations: 45.7 kB / 0.9454 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/0.67, allocations: 0.6299 MB / 0.946 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/0.6704, allocations: 384.8 kB / 0.9464 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.6707, allocations: 202.8 kB / 0.9466 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6709, allocations: 349.9 kB / 0.9469 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.6717, allocations: 374.2 kB / 0.9473 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.6726, allocations: 0.5024 MB / 0.9478 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.6743, allocations: 0.8555 MB / 0.9486 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6743, allocations: 0 / 0.9486 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002695/0.677, allocations: 1.159 MB / 0.9498 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.677, allocations: 8 kB / 0.9498 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.677, allocations: 0 / 0.9498 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/0.6776, allocations: 88.77 kB / 0.9498 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/0.6786, allocations: 219.7 kB / 0.9501 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.6809, allocations: 1.642 MB / 0.9517 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/0.6819, allocations: 127.2 kB / 0.9518 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.682, allocations: 43.97 kB / 0.9518 GB, free: 3.941 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0006405/0.6827, allocations: 360 kB / 0.9522 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.6829, allocations: 119.2 kB / 0.9523 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.6865, allocations: 1.534 MB / 0.9538 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.6865, allocations: 12 kB / 0.9538 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6865, allocations: 0 / 0.9538 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.6865, allocations: 7.969 kB / 0.9538 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6883, allocations: 1.377 MB / 0.9551 GB, free: 484 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.6884, allocations: 0 / 0.9551 GB, free: 484 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.6892, allocations: 199.7 kB / 0.9553 GB, free: 284 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.6897, allocations: 72.78 kB / 0.9554 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.6898, allocations: 35.97 kB / 0.9554 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.6919, allocations: 1.668 MB / 0.9571 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.692, allocations: 3.984 kB / 0.9571 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.6948, allocations: 1.289 MB / 0.9583 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.6954, allocations: 367.8 kB / 0.9587 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.6956, allocations: 28.12 kB / 0.9587 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008867/0.6965, allocations: 83.98 kB / 0.9588 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.6967, allocations: 105.2 kB / 0.9589 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.6968, allocations: 51.95 kB / 0.9589 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009103/0.6978, allocations: 0.6137 MB / 0.9595 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6978, allocations: 4 kB / 0.9595 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001107/0.6989, allocations: 454.1 kB / 0.96 GB, free: 11.32 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.005006/0.7039, allocations: 2.365 MB / 0.9623 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.7064, allocations: 1.117 MB / 0.9634 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7064, allocations: 0 / 0.9634 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.7077, allocations: 0.6818 MB / 0.964 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.7092, allocations: 325.2 kB / 0.9643 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.7258, allocations: 8.916 MB / 0.9731 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/0.7267, allocations: 1.227 MB / 0.9743 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001094/0.7279, allocations: 313.1 kB / 0.9745 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009374/0.7288, allocations: 0.6086 MB / 0.9751 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of SimCode: time 9.21e-07/0.7288, allocations: 0 / 0.9751 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0671/0.7959, allocations: 28.79 MB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.1, allocations: 4.375 kB / 1.003 GB, free: 15.35 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_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_DirectTiltedSurface.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)