Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7123/0.7123, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 176.4 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009049, allocations: 101.2 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 9.719 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.788/4.93, allocations: 2.147 GB / 2.782 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/4.931, allocations: 92.89 kB / 2.782 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1202/5.051, allocations: 58.97 MB / 2.84 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.606e-06/5.051, allocations: 0 / 2.84 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.888e-05/5.051, allocations: 23.94 kB / 2.84 GB, free: 172.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.001672/5.053, allocations: 1.098 MB / 2.841 GB, free: 171 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/5.053, allocations: 8.031 kB / 2.841 GB, free: 171 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/5.053, allocations: 126.6 kB / 2.841 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/5.055, allocations: 290.5 kB / 2.841 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/5.055, allocations: 0.5375 MB / 2.842 GB, free: 170 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/5.055, allocations: 61.98 kB / 2.842 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/5.055, allocations: 68 kB / 2.842 GB, free: 169.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/5.057, allocations: 0.8447 MB / 2.843 GB, free: 169 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/5.057, allocations: 0 / 2.843 GB, free: 169 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/5.057, allocations: 32 kB / 2.843 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/5.057, allocations: 20 kB / 2.843 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/5.058, allocations: 1.132 MB / 2.844 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/5.062, allocations: 2.384 MB / 2.846 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/5.063, allocations: 0.8153 MB / 2.847 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005326/5.064, allocations: 478 kB / 2.848 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007995/5.065, allocations: 474.5 kB / 2.848 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/5.065, allocations: 0 / 2.848 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.003062/5.068, allocations: 1.181 MB / 2.849 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/5.068, allocations: 166.8 kB / 2.849 GB, free: 162 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/5.068, allocations: 0.4943 MB / 2.85 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/5.069, allocations: 37.7 kB / 2.85 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/5.069, allocations: 332.4 kB / 2.85 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/5.069, allocations: 232.6 kB / 2.851 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/5.069, allocations: 16 kB / 2.851 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/5.069, allocations: 370.7 kB / 2.851 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/5.07, allocations: 253.2 kB / 2.851 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/5.07, allocations: 333 kB / 2.851 GB, free: 160 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/5.071, allocations: 291 kB / 2.852 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.071, allocations: 0 / 2.852 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001783/5.072, allocations: 0.7706 MB / 2.852 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/5.072, allocations: 4 kB / 2.852 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/5.072, allocations: 4.062 kB / 2.852 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/5.073, allocations: 80.77 kB / 2.853 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/5.074, allocations: 155.7 kB / 2.853 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/5.075, allocations: 1.544 MB / 2.854 GB, free: 157 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/5.076, allocations: 75.34 kB / 2.854 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/5.076, allocations: 27.97 kB / 2.854 GB, free: 156.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0003969/5.077, allocations: 242.3 kB / 2.855 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/5.077, allocations: 71.16 kB / 2.855 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/5.079, allocations: 1.036 MB / 2.856 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/5.079, allocations: 8 kB / 2.856 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/5.079, allocations: 0 / 2.856 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/5.079, allocations: 3.984 kB / 2.856 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000793/5.08, allocations: 0.8326 MB / 2.856 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/5.08, allocations: 0 / 2.856 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/5.08, allocations: 151.8 kB / 2.857 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/5.081, allocations: 84.77 kB / 2.857 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/5.081, allocations: 23.98 kB / 2.857 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/5.082, allocations: 1.568 MB / 2.858 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/5.082, allocations: 0 / 2.858 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/5.084, allocations: 0.8598 MB / 2.859 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/5.085, allocations: 275.9 kB / 2.859 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/5.085, allocations: 16 kB / 2.859 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/5.085, allocations: 75.84 kB / 2.859 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/5.085, allocations: 56.53 kB / 2.859 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/5.085, allocations: 35.92 kB / 2.86 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004309/5.086, allocations: 418.8 kB / 2.86 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/5.086, allocations: 0 / 2.86 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000999/5.087, allocations: 335.3 kB / 2.86 GB, free: 150.6 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.003633/5.091, allocations: 2.344 MB / 2.863 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001708/5.092, allocations: 0.7735 MB / 2.863 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/5.092, allocations: 3.906 kB / 2.863 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008547/5.093, allocations: 0.4982 MB / 2.864 GB, free: 147 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/5.094, allocations: 196.6 kB / 2.864 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/5.103, allocations: 4.636 MB / 2.868 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/5.103, allocations: 0.9834 MB / 2.869 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001093/5.104, allocations: 245.1 kB / 2.87 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/5.105, allocations: 307.3 kB / 2.87 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.064e-06/5.105, allocations: 0 / 2.87 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/5.154, allocations: 26.81 MB / 2.896 GB, free: 114 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/5.154, allocations: 274.1 kB / 2.896 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/8.049, allocations: 0 / 2.896 GB, free: 113.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)