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.006646/0.006646, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001422/0.001422, allocations: 199 kB / 16.67 MB, free: 5.965 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.346/1.346, 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.002574/0.002574, 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.9638/0.9638, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 95.86 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1529, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006251/0.1591, allocations: 4.615 MB / 0.7704 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4694/0.6286, allocations: 150.7 MB / 0.9176 GB, free: 7.586 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009732/0.6296, allocations: 15.94 kB / 0.9176 GB, free: 7.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008126/0.6305, allocations: 182.9 kB / 0.9178 GB, free: 7.395 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.6326, allocations: 0.5437 MB / 0.9183 GB, free: 6.867 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.6349, allocations: 0.8823 MB / 0.9192 GB, free: 6.016 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.6367, allocations: 1.434 MB / 0.9206 GB, free: 4.574 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.6378, allocations: 0.7151 MB / 0.9213 GB, free: 3.84 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008578/0.6387, allocations: 0.5488 MB / 0.9218 GB, free: 3.289 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.6395, allocations: 0.5717 MB / 0.9224 GB, free: 2.715 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002996/0.6399, allocations: 136 kB / 0.9225 GB, free: 2.582 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.6409, allocations: 0.5152 MB / 0.923 GB, free: 2.066 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003606/0.6413, allocations: 338.9 kB / 0.9233 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007485/0.6421, allocations: 0.6272 MB / 0.9239 GB, free: 1.105 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.6445, allocations: 1.814 MB / 0.9257 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6445, allocations: 4 kB / 0.9257 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6445, allocations: 0 / 0.9257 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.524e-05/0.6445, allocations: 0 / 0.9257 GB, free: 15.29 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.003179/0.6477, allocations: 1.565 MB / 0.9272 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6478, allocations: 12.02 kB / 0.9272 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.648, allocations: 160.5 kB / 0.9274 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000987/0.649, allocations: 199.2 kB / 0.9276 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.6504, allocations: 0.817 MB / 0.9284 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.6505, allocations: 74.02 kB / 0.9284 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.6506, allocations: 100 kB / 0.9285 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.6525, allocations: 1.069 MB / 0.9296 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6525, allocations: 0 / 0.9296 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/0.6526, allocations: 44 kB / 0.9296 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.6527, allocations: 24 kB / 0.9297 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.6546, allocations: 1.237 MB / 0.9309 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00477/0.6594, allocations: 2.891 MB / 0.9337 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.6611, allocations: 0.8905 MB / 0.9346 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.6617, allocations: 335.7 kB / 0.9349 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.372e-05/0.6618, allocations: 37.02 kB / 0.9349 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009604/0.6628, allocations: 0.5436 MB / 0.9354 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=92): time 2.796e-06/0.6628, allocations: 3.938 kB / 0.9354 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.003294/0.6661, allocations: 1.337 MB / 0.9367 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.6662, allocations: 192.9 kB / 0.9369 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.6672, allocations: 0.6765 MB / 0.9376 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.6673, allocations: 45.7 kB / 0.9376 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.6677, allocations: 448.2 kB / 0.9381 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.6679, allocations: 295.7 kB / 0.9383 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.6682, allocations: 170.5 kB / 0.9385 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6684, allocations: 398.8 kB / 0.9389 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.6689, allocations: 285.8 kB / 0.9392 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.6696, allocations: 394.5 kB / 0.9395 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.6708, allocations: 0.6646 MB / 0.9402 GB, free: 36 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6708, allocations: 0 / 0.9402 GB, free: 36 kB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002125/0.6729, allocations: 0.9033 MB / 0.9411 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.673, allocations: 8 kB / 0.9411 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.673, allocations: 0 / 0.9411 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.6736, allocations: 84.83 kB / 0.9412 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.6743, allocations: 167.8 kB / 0.9413 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.6765, allocations: 1.64 MB / 0.9429 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.6773, allocations: 107.2 kB / 0.943 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.6774, allocations: 31.97 kB / 0.9431 GB, free: 12.95 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.0005278/0.678, allocations: 275.4 kB / 0.9433 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.6782, allocations: 95.8 kB / 0.9434 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.6809, allocations: 1.234 MB / 0.9446 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.681, allocations: 8 kB / 0.9446 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.681, allocations: 4 kB / 0.9446 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.681, allocations: 3.984 kB / 0.9446 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.6823, allocations: 1.005 MB / 0.9456 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.6823, allocations: 7.984 kB / 0.9456 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.683, allocations: 167.7 kB / 0.9458 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.6835, allocations: 72.78 kB / 0.9458 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.051e-05/0.6836, allocations: 31.97 kB / 0.9459 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.6854, allocations: 1.662 MB / 0.9475 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6854, allocations: 3.938 kB / 0.9475 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.6877, allocations: 1.041 MB / 0.9485 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.6882, allocations: 295.5 kB / 0.9488 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.6884, allocations: 27.94 kB / 0.9488 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.6891, allocations: 71.92 kB / 0.9489 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.6893, allocations: 80.88 kB / 0.949 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.6894, allocations: 43.97 kB / 0.949 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000677/0.6901, allocations: 499 kB / 0.9495 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6901, allocations: 0 / 0.9495 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009331/0.691, allocations: 355.1 kB / 0.9498 GB, free: 5.754 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.00376/0.6948, allocations: 2.131 MB / 0.9519 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.6968, allocations: 0.8909 MB / 0.9528 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6968, allocations: 0 / 0.9528 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.6979, allocations: 0.5822 MB / 0.9533 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.6993, allocations: 296 kB / 0.9536 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.7118, allocations: 6.909 MB / 0.9604 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.7126, allocations: 1.074 MB / 0.9614 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009713/0.7136, allocations: 275.3 kB / 0.9617 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/0.7143, allocations: 447.2 kB / 0.9621 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.7143, allocations: 0 / 0.9621 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/0.7698, allocations: 24.03 MB / 0.9856 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.47, allocations: 19.89 kB / 0.9856 GB, free: 1.488 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)