Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_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.004941/0.004941, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001334/0.001334, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 286.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9902/0.9902, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002744, allocations: 95.84 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1557, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006488/0.1622, allocations: 4.617 MB / 0.7704 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4524/0.6147, allocations: 150.7 MB / 0.9176 GB, free: 7.625 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006998/0.6154, allocations: 19.88 kB / 0.9176 GB, free: 7.605 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.616, allocations: 188.2 kB / 0.9178 GB, free: 7.422 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.6176, allocations: 0.5477 MB / 0.9183 GB, free: 6.891 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.6195, allocations: 0.8737 MB / 0.9191 GB, free: 6.039 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.6211, allocations: 1.442 MB / 0.9206 GB, free: 4.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6221, allocations: 0.7159 MB / 0.9213 GB, free: 3.855 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.6228, allocations: 0.541 MB / 0.9218 GB, free: 3.312 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007001/0.6235, allocations: 0.5639 MB / 0.9223 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.6237, allocations: 143.9 kB / 0.9225 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00092/0.6246, allocations: 0.5191 MB / 0.923 GB, free: 2.086 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.625, allocations: 340.5 kB / 0.9233 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.6256, allocations: 0.6256 MB / 0.9239 GB, free: 1.125 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.6277, allocations: 1.815 MB / 0.9257 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6277, allocations: 4 kB / 0.9257 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6277, allocations: 0 / 0.9257 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.6277, allocations: 0 / 0.9257 GB, free: 15.31 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002823/0.6306, allocations: 1.61 MB / 0.9273 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6306, allocations: 8.031 kB / 0.9273 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.6308, allocations: 158.4 kB / 0.9274 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.6318, allocations: 207.9 kB / 0.9276 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.633, allocations: 0.8255 MB / 0.9284 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.6331, allocations: 78.02 kB / 0.9285 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.6333, allocations: 104 kB / 0.9286 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.6352, allocations: 1.063 MB / 0.9296 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6352, allocations: 0 / 0.9296 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.6353, allocations: 47.98 kB / 0.9297 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.6354, allocations: 25.03 kB / 0.9297 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.6375, allocations: 1.221 MB / 0.9309 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.6421, allocations: 2.899 MB / 0.9337 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.6439, allocations: 0.8867 MB / 0.9346 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.6445, allocations: 343.7 kB / 0.9349 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.462e-05/0.6446, allocations: 37.02 kB / 0.935 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.6456, allocations: 0.5574 MB / 0.9355 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=92): time 2.254e-06/0.6456, allocations: 0 / 0.9355 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.003445/0.6491, allocations: 1.333 MB / 0.9368 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.6492, allocations: 204.9 kB / 0.937 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.6502, allocations: 0.6803 MB / 0.9377 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/0.6503, allocations: 45.7 kB / 0.9377 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.6506, allocations: 449.2 kB / 0.9381 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.6509, allocations: 309.4 kB / 0.9384 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.6512, allocations: 166.6 kB / 0.9386 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6514, allocations: 398.7 kB / 0.939 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.652, allocations: 285.8 kB / 0.9392 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.6527, allocations: 394.5 kB / 0.9396 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.6541, allocations: 0.6633 MB / 0.9403 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6541, allocations: 0 / 0.9403 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002147/0.6562, allocations: 0.9115 MB / 0.9412 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6563, allocations: 4 kB / 0.9412 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6563, allocations: 4 kB / 0.9412 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.6569, allocations: 80.84 kB / 0.9412 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.6576, allocations: 179.7 kB / 0.9414 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.6598, allocations: 1.639 MB / 0.943 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.6606, allocations: 104.3 kB / 0.9431 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.6606, allocations: 35.98 kB / 0.9432 GB, free: 12.87 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004437/0.6611, allocations: 283.4 kB / 0.9434 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.6613, allocations: 95.39 kB / 0.9435 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/0.6641, allocations: 1.231 MB / 0.9447 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6641, allocations: 8 kB / 0.9447 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6642, allocations: 4 kB / 0.9447 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.6642, allocations: 7.969 kB / 0.9447 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6655, allocations: 1.013 MB / 0.9457 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6655, allocations: 4 kB / 0.9457 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.6662, allocations: 163.8 kB / 0.9459 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.6666, allocations: 72.78 kB / 0.946 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.14e-05/0.6667, allocations: 31.98 kB / 0.946 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.6687, allocations: 1.65 MB / 0.9476 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6688, allocations: 7.969 kB / 0.9476 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.671, allocations: 1.042 MB / 0.9486 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.6714, allocations: 308.1 kB / 0.9489 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6716, allocations: 27.94 kB / 0.9489 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.6722, allocations: 71.92 kB / 0.949 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6724, allocations: 80.89 kB / 0.9491 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/0.6725, allocations: 43.97 kB / 0.9491 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006515/0.6731, allocations: 499 kB / 0.9496 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6731, allocations: 0 / 0.9496 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008487/0.674, allocations: 362.9 kB / 0.9499 GB, free: 5.66 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00434/0.6783, allocations: 2.126 MB / 0.952 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.6802, allocations: 0.8985 MB / 0.9529 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6802, allocations: 0 / 0.9529 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6812, allocations: 0.5704 MB / 0.9535 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.6824, allocations: 303.8 kB / 0.9537 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.6946, allocations: 6.952 MB / 0.9605 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.6953, allocations: 1.075 MB / 0.9616 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008341/0.6962, allocations: 287.3 kB / 0.9619 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.6969, allocations: 443.2 kB / 0.9623 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.6969, allocations: 0 / 0.9623 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/0.7549, allocations: 23.56 MB / 0.9853 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.6, allocations: 23.88 kB / 0.9853 GB, free: 1.816 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)