Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.7312/0.7312, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 192.7 kB / 169.7 MB, free: 1.711 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.851/1.851, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.0008017/0.0008016, allocations: 85.28 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.293e-05/5.297e-05, allocations: 7.969 kB / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1807, allocations: 76.75 MB / 0.6282 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.427/6.608, allocations: 2.147 GB / 2.775 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/6.608, allocations: 94.19 kB / 2.775 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1112/6.719, allocations: 53.93 MB / 2.828 GB, free: 81.65 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.424e-06/6.719, allocations: 0 / 2.828 GB, free: 81.65 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.306e-05/6.72, allocations: 23.98 kB / 2.828 GB, free: 81.62 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00183/6.721, allocations: 1.009 MB / 2.829 GB, free: 80.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/6.721, allocations: 12.03 kB / 2.829 GB, free: 80.56 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/6.722, allocations: 126.8 kB / 2.829 GB, free: 80.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/6.723, allocations: 302.4 kB / 2.829 GB, free: 80.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/6.724, allocations: 0.5374 MB / 2.83 GB, free: 79.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/6.724, allocations: 54 kB / 2.83 GB, free: 79.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/6.724, allocations: 79.94 kB / 2.83 GB, free: 79.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/6.726, allocations: 0.8058 MB / 2.831 GB, free: 78.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/6.726, allocations: 0 / 2.831 GB, free: 78.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/6.726, allocations: 32 kB / 2.831 GB, free: 78.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/6.726, allocations: 20 kB / 2.831 GB, free: 78.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/6.727, allocations: 1.042 MB / 2.832 GB, free: 77.49 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/6.73, allocations: 2.376 MB / 2.834 GB, free: 75.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/6.731, allocations: 0.7906 MB / 2.835 GB, free: 74.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/6.732, allocations: 278.1 kB / 2.835 GB, free: 73.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/6.732, allocations: 474.3 kB / 2.836 GB, free: 73.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006044/6.733, allocations: 434.2 kB / 2.836 GB, free: 72.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 1.963e-06/6.733, allocations: 3.938 kB / 2.836 GB, free: 72.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.001505/6.734, allocations: 0.6888 MB / 2.837 GB, free: 72.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/6.735, allocations: 167 kB / 2.837 GB, free: 72.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/6.735, allocations: 0.493 MB / 2.837 GB, free: 71.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/6.735, allocations: 45.69 kB / 2.837 GB, free: 71.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/6.735, allocations: 332.4 kB / 2.838 GB, free: 71.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/6.736, allocations: 244.5 kB / 2.838 GB, free: 70.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/6.736, allocations: 12 kB / 2.838 GB, free: 70.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000103/6.736, allocations: 366.8 kB / 2.838 GB, free: 70.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/6.736, allocations: 209.5 kB / 2.839 GB, free: 70.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/6.736, allocations: 294.5 kB / 2.839 GB, free: 70.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/6.737, allocations: 238 kB / 2.839 GB, free: 69.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/6.737, allocations: 0 / 2.839 GB, free: 69.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001333/6.738, allocations: 0.6916 MB / 2.84 GB, free: 69.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/6.738, allocations: 11.89 kB / 2.84 GB, free: 69.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/6.738, allocations: 0 / 2.84 GB, free: 69.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/6.739, allocations: 84.84 kB / 2.84 GB, free: 69.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/6.739, allocations: 155.8 kB / 2.84 GB, free: 68.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/6.741, allocations: 1.513 MB / 2.842 GB, free: 67.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/6.742, allocations: 79.58 kB / 2.842 GB, free: 67.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/6.742, allocations: 27.98 kB / 2.842 GB, free: 67.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001426/6.742, allocations: 140.9 kB / 2.842 GB, free: 66.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/6.742, allocations: 75.11 kB / 2.842 GB, free: 66.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/6.744, allocations: 0.9602 MB / 2.843 GB, free: 65.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/6.744, allocations: 11.98 kB / 2.843 GB, free: 65.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/6.744, allocations: 0 / 2.843 GB, free: 65.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/6.744, allocations: 7.984 kB / 2.843 GB, free: 65.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/6.747, allocations: 1.804 MB / 2.845 GB, free: 64.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/6.747, allocations: 0 / 2.845 GB, free: 64.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/6.747, allocations: 159.8 kB / 2.845 GB, free: 63.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/6.748, allocations: 84.77 kB / 2.845 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/6.748, allocations: 27.92 kB / 2.845 GB, free: 63.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/6.75, allocations: 1.536 MB / 2.846 GB, free: 62.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/6.75, allocations: 0 / 2.846 GB, free: 62.08 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/6.751, allocations: 0.8652 MB / 2.847 GB, free: 61.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/6.751, allocations: 283.8 kB / 2.847 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/6.751, allocations: 16 kB / 2.847 GB, free: 60.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/6.752, allocations: 68 kB / 2.847 GB, free: 60.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/6.752, allocations: 60.7 kB / 2.848 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/6.752, allocations: 31.97 kB / 2.848 GB, free: 60.72 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004516/6.753, allocations: 413.5 kB / 2.848 GB, free: 60.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.743e-06/6.753, allocations: 3.938 kB / 2.848 GB, free: 60.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001108/6.754, allocations: 347.1 kB / 2.848 GB, free: 59.98 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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.00341/6.757, allocations: 2.296 MB / 2.851 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001203/6.758, allocations: 0.6942 MB / 2.851 GB, free: 57.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/6.758, allocations: 0 / 2.851 GB, free: 57.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/6.759, allocations: 475 kB / 2.852 GB, free: 56.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/6.76, allocations: 207.5 kB / 2.852 GB, free: 56.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/6.763, allocations: 1.477 MB / 2.853 GB, free: 54.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/6.764, allocations: 0.9954 MB / 2.854 GB, free: 53.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009166/6.765, allocations: 245.2 kB / 2.855 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/6.765, allocations: 315.3 kB / 2.855 GB, free: 53.26 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/6.765, allocations: 4 kB / 2.855 GB, free: 53.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/6.825, allocations: 28.67 MB / 2.883 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/6.825, allocations: 262.8 kB / 2.883 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/10.06, allocations: 0 / 2.883 GB, free: 24.47 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)