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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8367/0.8367, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 180.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000857/0.0008569, allocations: 89.56 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001727, allocations: 274.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.21e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.486, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.64/5.127, allocations: 1.691 GB / 2.449 GB, free: 94.81 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/5.127, allocations: 98.7 kB / 2.449 GB, free: 94.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1249/5.252, allocations: 59.31 MB / 2.507 GB, free: 35.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.814e-06/5.252, allocations: 0 / 2.507 GB, free: 35.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.555e-05/5.252, allocations: 27.94 kB / 2.507 GB, free: 35.14 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001831/5.254, allocations: 1.09 MB / 2.508 GB, free: 34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/5.254, allocations: 12.03 kB / 2.508 GB, free: 33.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008436/5.255, allocations: 190.6 kB / 2.508 GB, free: 33.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/5.255, allocations: 0.6269 MB / 2.508 GB, free: 33.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/5.255, allocations: 28 kB / 2.509 GB, free: 33.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/5.256, allocations: 48 kB / 2.509 GB, free: 33.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/5.257, allocations: 1.007 MB / 2.51 GB, free: 32.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/5.258, allocations: 0.7466 MB / 2.51 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/5.258, allocations: 4 kB / 2.51 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/5.258, allocations: 0 / 2.51 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/5.258, allocations: 24 kB / 2.51 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/5.262, allocations: 2.396 MB / 2.513 GB, free: 28.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/5.264, allocations: 0.7853 MB / 2.513 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/5.264, allocations: 263 kB / 2.514 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-05/5.264, allocations: 32.81 kB / 2.514 GB, free: 27.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/5.265, allocations: 395.8 kB / 2.514 GB, free: 27.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.295e-06/5.265, allocations: 0 / 2.514 GB, free: 27.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001619/5.266, allocations: 0.6874 MB / 2.515 GB, free: 26.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/5.266, allocations: 248.1 kB / 2.515 GB, free: 26.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/5.267, allocations: 0.4906 MB / 2.515 GB, free: 25.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/5.267, allocations: 29.7 kB / 2.515 GB, free: 25.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/5.267, allocations: 380.2 kB / 2.516 GB, free: 25.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/5.267, allocations: 244.3 kB / 2.516 GB, free: 25.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/5.267, allocations: 4 kB / 2.516 GB, free: 25.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001029/5.267, allocations: 374.8 kB / 2.516 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/5.268, allocations: 193.5 kB / 2.517 GB, free: 24.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/5.268, allocations: 303.5 kB / 2.517 GB, free: 24.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/5.268, allocations: 256.4 kB / 2.517 GB, free: 23.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/5.268, allocations: 0 / 2.517 GB, free: 23.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001319/5.27, allocations: 0.6876 MB / 2.518 GB, free: 23.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/5.27, allocations: 4 kB / 2.518 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/5.27, allocations: 0 / 2.518 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/5.27, allocations: 84.83 kB / 2.518 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/5.271, allocations: 143.8 kB / 2.518 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/5.272, allocations: 1.453 MB / 2.519 GB, free: 21.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/5.273, allocations: 63.52 kB / 2.52 GB, free: 21.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/5.273, allocations: 35.91 kB / 2.52 GB, free: 21.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001463/5.273, allocations: 125.6 kB / 2.52 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001278/5.275, allocations: 0.6835 MB / 2.52 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/5.275, allocations: 67.16 kB / 2.52 GB, free: 20.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/5.276, allocations: 0.9657 MB / 2.521 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/5.276, allocations: 19.95 kB / 2.521 GB, free: 19.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/5.276, allocations: 0 / 2.521 GB, free: 19.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/5.276, allocations: 3.984 kB / 2.521 GB, free: 19.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/5.279, allocations: 1.761 MB / 2.523 GB, free: 17.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/5.279, allocations: 7.984 kB / 2.523 GB, free: 17.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/5.279, allocations: 151.8 kB / 2.523 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/5.28, allocations: 84.77 kB / 2.523 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/5.28, allocations: 19.98 kB / 2.523 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/5.281, allocations: 1.484 MB / 2.525 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/5.281, allocations: 0 / 2.525 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/5.283, allocations: 0.865 MB / 2.526 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/5.283, allocations: 287.8 kB / 2.526 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-05/5.283, allocations: 0 / 2.526 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/5.284, allocations: 55.94 kB / 2.526 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/5.284, allocations: 68.64 kB / 2.526 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/5.284, allocations: 27.98 kB / 2.526 GB, free: 14.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003968/5.284, allocations: 406.9 kB / 2.526 GB, free: 14.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.284, allocations: 0 / 2.526 GB, free: 14.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001066/5.285, allocations: 354.9 kB / 2.527 GB, free: 13.72 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003157/5.288, allocations: 2.412 MB / 2.529 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001116/5.29, allocations: 0.6668 MB / 2.53 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.29, allocations: 0 / 2.53 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/5.29, allocations: 476.5 kB / 2.53 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/5.291, allocations: 211 kB / 2.53 GB, free: 9.996 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/5.295, allocations: 1.521 MB / 2.532 GB, free: 8.438 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/5.295, allocations: 1.043 MB / 2.533 GB, free: 7.363 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000792/5.296, allocations: 257.8 kB / 2.533 GB, free: 7.109 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/5.296, allocations: 367.3 kB / 2.534 GB, free: 6.75 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/5.296, allocations: 0 / 2.534 GB, free: 6.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5142/5.811, allocations: 23.63 MB / 2.557 GB, free: 223.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/5.811, allocations: 224.7 kB / 2.557 GB, free: 223.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/8.635, allocations: 0 / 2.557 GB, free: 223.4 MB / 0.698 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/linux/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)