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.8054/0.8054, allocations: 127.4 MB / 134.9 MB, free: 3.453 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.001161/0.00116, allocations: 175.1 kB / 164.6 MB, free: 11.62 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.709/1.709, allocations: 205.2 MB / 399.5 MB, free: 13.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.001001/0.001001, allocations: 91.44 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.067e-05, allocations: 5.25 kB / 0.5467 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1584, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.18/5.339, allocations: 2.146 GB / 2.768 GB, free: 32.87 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/5.339, allocations: 92.73 kB / 2.768 GB, free: 32.78 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5866/5.926, allocations: 53.18 MB / 2.82 GB, free: 226.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.526e-06/5.926, allocations: 0 / 2.82 GB, free: 226.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001033/5.926, allocations: 27.41 kB / 2.82 GB, free: 226.7 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.00271/5.929, allocations: 1.01 MB / 2.821 GB, free: 226.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/5.929, allocations: 10.41 kB / 2.821 GB, free: 226.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/5.931, allocations: 298.6 kB / 2.821 GB, free: 226 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/5.932, allocations: 0.5279 MB / 2.822 GB, free: 225.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/5.932, allocations: 24.03 kB / 2.822 GB, free: 225.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/5.932, allocations: 47.78 kB / 2.822 GB, free: 225.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001545/5.934, allocations: 1.001 MB / 2.823 GB, free: 225.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/5.935, allocations: 0.7023 MB / 2.824 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/5.935, allocations: 0 / 2.824 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/5.935, allocations: 2.812 kB / 2.824 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/5.935, allocations: 19.41 kB / 2.824 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/5.939, allocations: 2.225 MB / 2.826 GB, free: 224.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/5.94, allocations: 0.7375 MB / 2.826 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/5.94, allocations: 264.3 kB / 2.827 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006161/5.941, allocations: 469.5 kB / 2.827 GB, free: 224.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005956/5.942, allocations: 424 kB / 2.828 GB, free: 224.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/5.942, allocations: 0 / 2.828 GB, free: 224.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.004621/5.946, allocations: 1.031 MB / 2.829 GB, free: 224.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/5.946, allocations: 168.8 kB / 2.829 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/5.947, allocations: 441.2 kB / 2.829 GB, free: 223.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/5.947, allocations: 25.7 kB / 2.829 GB, free: 223.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/5.947, allocations: 337.4 kB / 2.829 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/5.947, allocations: 228.4 kB / 2.83 GB, free: 223.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/5.947, allocations: 0 / 2.83 GB, free: 223.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000137/5.948, allocations: 365.3 kB / 2.83 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/5.948, allocations: 196.5 kB / 2.83 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/5.948, allocations: 274.7 kB / 2.83 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/5.952, allocations: 0.6031 MB / 2.831 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/5.952, allocations: 0 / 2.831 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004354/5.956, allocations: 1.03 MB / 2.832 GB, free: 223 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/5.956, allocations: 9.5 kB / 2.832 GB, free: 223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/5.956, allocations: 0 / 2.832 GB, free: 223 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/5.957, allocations: 82.23 kB / 2.832 GB, free: 223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/5.957, allocations: 153.7 kB / 2.832 GB, free: 223 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/5.959, allocations: 1.458 MB / 2.834 GB, free: 221.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/5.96, allocations: 66.22 kB / 2.834 GB, free: 221.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/5.96, allocations: 27.19 kB / 2.834 GB, free: 221.7 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.0001742/5.96, allocations: 126.2 kB / 2.834 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004444/5.964, allocations: 1.026 MB / 2.835 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/5.964, allocations: 65.62 kB / 2.835 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/5.969, allocations: 1.286 MB / 2.836 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/5.969, allocations: 9.375 kB / 2.836 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/5.969, allocations: 0 / 2.836 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/5.969, allocations: 7.469 kB / 2.836 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/5.975, allocations: 2.019 MB / 2.838 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/5.975, allocations: 3.938 kB / 2.838 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/5.976, allocations: 155.3 kB / 2.838 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/5.976, allocations: 88.94 kB / 2.838 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/5.976, allocations: 15.31 kB / 2.839 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/5.978, allocations: 1.482 MB / 2.84 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/5.978, allocations: 0 / 2.84 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/5.982, allocations: 1.196 MB / 2.841 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/5.982, allocations: 274.8 kB / 2.841 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/5.982, allocations: 3.312 kB / 2.841 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/5.983, allocations: 56.25 kB / 2.841 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/5.983, allocations: 54.59 kB / 2.841 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/5.983, allocations: 37.28 kB / 2.842 GB, free: 218.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004213/5.984, allocations: 356.1 kB / 2.842 GB, free: 218.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/5.984, allocations: 0 / 2.842 GB, free: 218.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001071/5.985, allocations: 319.9 kB / 2.842 GB, free: 218.3 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.006376/5.991, allocations: 2.693 MB / 2.845 GB, free: 217.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001194/5.992, allocations: 0.6591 MB / 2.845 GB, free: 216.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/5.992, allocations: 0 / 2.845 GB, free: 216.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006249/5.993, allocations: 449.7 kB / 2.846 GB, free: 216.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/5.994, allocations: 172.2 kB / 2.846 GB, free: 216.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/5.998, allocations: 1.4 MB / 2.847 GB, free: 216 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/5.998, allocations: 0.993 MB / 2.848 GB, free: 215.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009283/5.999, allocations: 246.9 kB / 2.849 GB, free: 215.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/5.999, allocations: 315.2 kB / 2.849 GB, free: 215 MB / 0.6511 GB Notification: Performance of SimCode: time 1.303e-06/5.999, allocations: 0 / 2.849 GB, free: 215 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/6.044, allocations: 21.11 MB / 2.87 GB, free: 196.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/6.044, allocations: 215.7 kB / 2.87 GB, free: 195.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/8.855, allocations: 0 / 2.87 GB, free: 195.9 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)