Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.007278/0.007278, allocations: 100.2 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.001703/0.001703, allocations: 187.7 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 279 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9579/0.9579, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 91.94 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.159, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006064/0.1651, allocations: 4.5 MB / 0.7703 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5213/0.6864, allocations: 150.7 MB / 0.9174 GB, free: 7.703 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009892/0.6874, allocations: 15.94 kB / 0.9175 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.6883, allocations: 181.2 kB / 0.9176 GB, free: 7.512 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.6905, allocations: 0.5151 MB / 0.9181 GB, free: 7.008 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.6928, allocations: 0.8747 MB / 0.919 GB, free: 6.164 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.6945, allocations: 1.391 MB / 0.9203 GB, free: 4.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.6957, allocations: 0.6294 MB / 0.921 GB, free: 4.113 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.6966, allocations: 0.5138 MB / 0.9215 GB, free: 3.598 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008681/0.6975, allocations: 0.5267 MB / 0.922 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.6978, allocations: 120 kB / 0.9221 GB, free: 2.953 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.699, allocations: 0.5035 MB / 0.9226 GB, free: 2.449 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.6995, allocations: 311 kB / 0.9229 GB, free: 2.145 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008335/0.7003, allocations: 0.5728 MB / 0.9234 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.7026, allocations: 1.705 MB / 0.9251 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7026, allocations: 3.984 kB / 0.9251 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7026, allocations: 0 / 0.9251 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.956e-05/0.7027, allocations: 0 / 0.9251 GB, free: 15.86 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003393/0.7061, allocations: 1.487 MB / 0.9266 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.7061, allocations: 12.03 kB / 0.9266 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.7063, allocations: 140.6 kB / 0.9267 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.7074, allocations: 191.3 kB / 0.9269 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.7088, allocations: 0.7898 MB / 0.9277 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.7089, allocations: 66 kB / 0.9277 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.709, allocations: 91.98 kB / 0.9278 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.7109, allocations: 0.9777 MB / 0.9288 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.711, allocations: 0 / 0.9288 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.7111, allocations: 43.98 kB / 0.9288 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.7111, allocations: 28 kB / 0.9288 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.713, allocations: 1.154 MB / 0.93 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.7178, allocations: 2.663 MB / 0.9326 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.72, allocations: 0.9817 MB / 0.9335 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/0.7207, allocations: 334.6 kB / 0.9338 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.899e-05/0.7208, allocations: 36.67 kB / 0.9339 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009737/0.7218, allocations: 0.5341 MB / 0.9344 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 3.286e-06/0.7218, allocations: 0 / 0.9344 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003331/0.7252, allocations: 1.298 MB / 0.9357 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.7253, allocations: 188.9 kB / 0.9358 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.7264, allocations: 0.6529 MB / 0.9365 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.7265, allocations: 45.7 kB / 0.9365 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.727, allocations: 408.4 kB / 0.9369 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.7272, allocations: 279.9 kB / 0.9372 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.7275, allocations: 170.3 kB / 0.9373 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.7278, allocations: 386.8 kB / 0.9377 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.7283, allocations: 271.4 kB / 0.938 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.729, allocations: 386.5 kB / 0.9383 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.7302, allocations: 0.6243 MB / 0.9389 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7302, allocations: 3.938 kB / 0.939 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002214/0.7324, allocations: 0.8682 MB / 0.9398 GB, free: 416 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.7324, allocations: 8 kB / 0.9398 GB, free: 408 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.7325, allocations: 0 / 0.9398 GB, free: 408 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.7331, allocations: 84.83 kB / 0.9399 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.7338, allocations: 167.7 kB / 0.94 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.7364, allocations: 1.616 MB / 0.9416 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/0.7373, allocations: 116.5 kB / 0.9417 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7374, allocations: 35.98 kB / 0.9418 GB, free: 14.24 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: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.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 (96): * Single equations (assignments): 95 * 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.0005902/0.738, allocations: 271.4 kB / 0.942 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.7383, allocations: 82.97 kB / 0.9421 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.7411, allocations: 1.193 MB / 0.9433 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7411, allocations: 12 kB / 0.9433 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7411, allocations: 0 / 0.9433 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.7412, allocations: 3.984 kB / 0.9433 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.7451, allocations: 2.123 MB / 0.9454 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7452, allocations: 0 / 0.9454 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.7458, allocations: 159.8 kB / 0.9455 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.7463, allocations: 76.72 kB / 0.9456 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.7464, allocations: 35.97 kB / 0.9456 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.7484, allocations: 1.658 MB / 0.9472 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7484, allocations: 0 / 0.9472 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.7508, allocations: 1.088 MB / 0.9483 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.7513, allocations: 291.5 kB / 0.9486 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.7515, allocations: 23.94 kB / 0.9486 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.7522, allocations: 71.92 kB / 0.9487 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.7524, allocations: 84.88 kB / 0.9488 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.971e-05/0.7525, allocations: 43.91 kB / 0.9488 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000711/0.7532, allocations: 474.8 kB / 0.9493 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7533, allocations: 0 / 0.9493 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00103/0.7543, allocations: 335.2 kB / 0.9496 GB, free: 5.996 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.003828/0.7581, allocations: 2.158 MB / 0.9517 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.7601, allocations: 0.8713 MB / 0.9525 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7601, allocations: 0 / 0.9525 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.7612, allocations: 0.5666 MB / 0.9531 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.7628, allocations: 298.7 kB / 0.9534 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.7762, allocations: 6.664 MB / 0.9599 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008273/0.7771, allocations: 1.051 MB / 0.9609 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001016/0.7781, allocations: 279 kB / 0.9612 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/0.7788, allocations: 415.2 kB / 0.9616 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of SimCode: time 2.034e-06/0.7788, allocations: 4 kB / 0.9616 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06024/0.8391, allocations: 23.04 MB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.2, allocations: 8.047 kB / 0.9841 GB, free: 3.031 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)