Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.00461/0.00461, allocations: 99 kB / 15.73 MB, free: 6.059 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.001275/0.001275, allocations: 193.1 kB / 16.67 MB, free: 5.977 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8151/0.8151, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 0.5809 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4201, allocations: 80.21 MB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004908/0.4251, allocations: 4.311 MB / 0.6634 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1762/0.6013, allocations: 150.6 MB / 0.8105 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008354/0.6021, allocations: 23.88 kB / 0.8105 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.6027, allocations: 174.4 kB / 0.8107 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.6049, allocations: 0.4975 MB / 0.8111 GB, free: 10 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.6077, allocations: 0.8256 MB / 0.8119 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.6097, allocations: 1.277 MB / 0.8132 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009957/0.6107, allocations: 0.6985 MB / 0.8139 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007204/0.6114, allocations: 494.2 kB / 0.8143 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.6121, allocations: 0.5016 MB / 0.8148 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.6123, allocations: 119.9 kB / 0.8149 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.6134, allocations: 0.4996 MB / 0.8154 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.6137, allocations: 307 kB / 0.8157 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005216/0.6142, allocations: 0.5594 MB / 0.8163 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.6163, allocations: 1.655 MB / 0.8179 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6163, allocations: 0 / 0.8179 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6163, allocations: 0 / 0.8179 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.6163, allocations: 0 / 0.8179 GB, free: 3.059 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002443/0.6188, allocations: 1.488 MB / 0.8193 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6188, allocations: 8.031 kB / 0.8194 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.619, allocations: 144.1 kB / 0.8195 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009475/0.62, allocations: 204 kB / 0.8197 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6212, allocations: 0.7776 MB / 0.8204 GB, free: 348 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.6213, allocations: 66 kB / 0.8205 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.6214, allocations: 99.97 kB / 0.8206 GB, free: 180 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.6232, allocations: 0.9848 MB / 0.8216 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.6232, allocations: 0 / 0.8216 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.6233, allocations: 36 kB / 0.8216 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.6234, allocations: 24 kB / 0.8216 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.6253, allocations: 1.163 MB / 0.8228 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.6298, allocations: 2.715 MB / 0.8254 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.6312, allocations: 0.7709 MB / 0.8262 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.6318, allocations: 302.7 kB / 0.8265 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.6319, allocations: 32.59 kB / 0.8265 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008899/0.6328, allocations: 459.2 kB / 0.8269 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.036e-06/0.6328, allocations: 0 / 0.8269 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.00324/0.6361, allocations: 1.164 MB / 0.8281 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.6362, allocations: 192.5 kB / 0.8282 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.6371, allocations: 0.6332 MB / 0.8289 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.6371, allocations: 41.7 kB / 0.8289 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.6375, allocations: 424.9 kB / 0.8293 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.6378, allocations: 269.7 kB / 0.8296 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.638, allocations: 146.6 kB / 0.8297 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.6383, allocations: 386.8 kB / 0.8301 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.6388, allocations: 241.8 kB / 0.8303 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.6394, allocations: 350.6 kB / 0.8306 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.6406, allocations: 0.5916 MB / 0.8312 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6406, allocations: 0 / 0.8312 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001955/0.6426, allocations: 0.7984 MB / 0.832 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6426, allocations: 11.94 kB / 0.832 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.6426, allocations: 0 / 0.832 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.6433, allocations: 88.77 kB / 0.8321 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.6439, allocations: 147.8 kB / 0.8322 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.6462, allocations: 1.638 MB / 0.8338 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.6468, allocations: 85.19 kB / 0.8339 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.6469, allocations: 31.92 kB / 0.8339 GB, free: 2.094 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004416/0.6473, allocations: 268.8 kB / 0.8342 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.6475, allocations: 87.44 kB / 0.8343 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.65, allocations: 1.089 MB / 0.8353 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6501, allocations: 8 kB / 0.8354 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6501, allocations: 3.984 kB / 0.8354 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6501, allocations: 7.984 kB / 0.8354 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.6536, allocations: 2.002 MB / 0.8373 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6536, allocations: 0 / 0.8373 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006387/0.6543, allocations: 159.7 kB / 0.8375 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/0.6547, allocations: 72.78 kB / 0.8375 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.6548, allocations: 23.98 kB / 0.8376 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.6569, allocations: 1.662 MB / 0.8392 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6569, allocations: 4.062 kB / 0.8392 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.659, allocations: 0.9788 MB / 0.8401 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.6595, allocations: 276.2 kB / 0.8404 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.6596, allocations: 16 kB / 0.8404 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.6602, allocations: 55.94 kB / 0.8405 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.6604, allocations: 64.91 kB / 0.8405 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.198e-05/0.6605, allocations: 35.98 kB / 0.8406 GB, free: 11.02 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006477/0.6611, allocations: 467 kB / 0.841 GB, free: 10.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6611, allocations: 0 / 0.841 GB, free: 10.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001099/0.6622, allocations: 334.9 kB / 0.8413 GB, free: 10.25 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004748/0.667, allocations: 2.04 MB / 0.8433 GB, free: 8.395 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.6689, allocations: 0.7921 MB / 0.8441 GB, free: 7.59 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.669, allocations: 0 / 0.8441 GB, free: 7.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.6699, allocations: 0.5199 MB / 0.8446 GB, free: 7.062 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.6712, allocations: 294.8 kB / 0.8449 GB, free: 6.801 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.6834, allocations: 6.381 MB / 0.8511 GB, free: 312 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008856/0.6844, allocations: 1.04 MB / 0.8521 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009511/0.6853, allocations: 266.6 kB / 0.8524 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/0.686, allocations: 399.3 kB / 0.8528 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of SimCode: time 9.51e-07/0.686, allocations: 0 / 0.8528 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3793/1.065, allocations: 21.61 MB / 0.8739 GB, free: 192 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.01, allocations: 8.109 kB / 0.8739 GB, free: 192 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)