Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_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.001963/0.001963, allocations: 110.5 kB / 16.41 MB, free: 5.984 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.00223/0.00223, allocations: 191 kB / 17.34 MB, free: 5.602 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8253/0.8253, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.64 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1337, allocations: 78.87 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008965/0.1427, allocations: 7.044 MB / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4754/0.6182, allocations: 151.1 MB / 0.805 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.6194, allocations: 21.62 kB / 0.805 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.6205, allocations: 265 kB / 0.8053 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.6232, allocations: 0.7833 MB / 0.806 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.6256, allocations: 1.013 MB / 0.807 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002592/0.6282, allocations: 2.106 MB / 0.8091 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.6299, allocations: 1.103 MB / 0.8102 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.631, allocations: 0.822 MB / 0.811 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.6323, allocations: 0.8807 MB / 0.8118 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.6327, allocations: 217.7 kB / 0.812 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.6337, allocations: 0.5753 MB / 0.8126 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.634, allocations: 491.9 kB / 0.8131 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007934/0.6348, allocations: 0.973 MB / 0.814 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.6376, allocations: 2.676 MB / 0.8166 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.6376, allocations: 0 / 0.8166 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6376, allocations: 0 / 0.8166 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.689e-05/0.6377, allocations: 4 kB / 0.8166 GB, free: 8.707 MB / 0.5919 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.003777/0.6415, allocations: 2.103 MB / 0.8187 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6415, allocations: 10.38 kB / 0.8187 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002663/0.6418, allocations: 224.8 kB / 0.8189 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.6428, allocations: 270.7 kB / 0.8192 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.6443, allocations: 1.003 MB / 0.8202 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.6445, allocations: 146.4 kB / 0.8203 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.6446, allocations: 155 kB / 0.8204 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.6472, allocations: 1.587 MB / 0.822 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.6473, allocations: 0 / 0.822 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.6474, allocations: 66.44 kB / 0.8221 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6474, allocations: 45.88 kB / 0.8221 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.65, allocations: 1.592 MB / 0.8237 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006983/0.657, allocations: 5 MB / 0.8285 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.6589, allocations: 1.095 MB / 0.8296 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007203/0.6596, allocations: 436.3 kB / 0.83 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.73e-05/0.6597, allocations: 43.62 kB / 0.8301 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.6609, allocations: 0.7008 MB / 0.8307 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 2.595e-06/0.661, allocations: 4 kB / 0.8307 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.003906/0.6649, allocations: 1.661 MB / 0.8324 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.665, allocations: 194.5 kB / 0.8326 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.6661, allocations: 0.8431 MB / 0.8334 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.6662, allocations: 51.3 kB / 0.8334 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005299/0.6667, allocations: 0.6364 MB / 0.8341 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.667, allocations: 368.8 kB / 0.8344 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.6674, allocations: 209.5 kB / 0.8346 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6675, allocations: 344.3 kB / 0.8349 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.6683, allocations: 382.1 kB / 0.8353 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/0.6691, allocations: 0.5058 MB / 0.8358 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6706, allocations: 0.858 MB / 0.8366 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6707, allocations: 0 / 0.8366 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00241/0.6731, allocations: 1.159 MB / 0.8378 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6731, allocations: 4.781 kB / 0.8378 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6731, allocations: 10.75 kB / 0.8378 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.6737, allocations: 82.11 kB / 0.8379 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.6746, allocations: 224.2 kB / 0.8381 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.6768, allocations: 1.642 MB / 0.8397 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008914/0.6777, allocations: 139.3 kB / 0.8398 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.6778, allocations: 45.58 kB / 0.8398 GB, free: 8.309 MB / 0.6075 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.0005664/0.6784, allocations: 345.9 kB / 0.8402 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.6786, allocations: 122.1 kB / 0.8403 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.6819, allocations: 1.526 MB / 0.8418 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.6819, allocations: 20 kB / 0.8418 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6819, allocations: 0 / 0.8418 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.682, allocations: 7.969 kB / 0.8418 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.6837, allocations: 1.38 MB / 0.8432 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6837, allocations: 4 kB / 0.8432 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.6845, allocations: 199.7 kB / 0.8434 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.685, allocations: 68.8 kB / 0.8434 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.6851, allocations: 35.97 kB / 0.8435 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.6871, allocations: 1.677 MB / 0.8451 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6871, allocations: 0 / 0.8451 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.6898, allocations: 1.293 MB / 0.8464 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.6904, allocations: 367.8 kB / 0.8467 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.6906, allocations: 31.95 kB / 0.8467 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000865/0.6914, allocations: 83.91 kB / 0.8468 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/0.6916, allocations: 101.2 kB / 0.8469 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6918, allocations: 43.97 kB / 0.847 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008685/0.6926, allocations: 0.6215 MB / 0.8476 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6926, allocations: 0 / 0.8476 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001121/0.6938, allocations: 482.6 kB / 0.848 GB, free: 248 kB / 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: 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.004823/0.6986, allocations: 2.359 MB / 0.8503 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.7009, allocations: 1.121 MB / 0.8514 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7009, allocations: 0 / 0.8514 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.7022, allocations: 0.6777 MB / 0.8521 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.7036, allocations: 344.8 kB / 0.8524 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.718, allocations: 8.729 MB / 0.8609 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/0.7189, allocations: 1.228 MB / 0.8621 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009989/0.7199, allocations: 317.3 kB / 0.8624 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008904/0.7208, allocations: 0.6086 MB / 0.863 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7208, allocations: 4 kB / 0.863 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/0.7875, allocations: 29.36 MB / 0.8917 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.1, allocations: 6.234 kB / 0.8917 GB, free: 3.836 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)