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.7175/0.7175, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001525/0.001525, allocations: 194.1 kB / 173.8 MB, free: 6.105 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.555/1.555, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009103/0.0009105, allocations: 90.86 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12.91 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.702/4.852, allocations: 2.147 GB / 2.782 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/4.853, allocations: 101.6 kB / 2.783 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1094/4.962, allocations: 54.22 MB / 2.836 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.465e-06/4.962, allocations: 0 / 2.836 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.188e-05/4.962, allocations: 27.94 kB / 2.836 GB, free: 119.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.002229/4.965, allocations: 1.105 MB / 2.837 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/4.965, allocations: 12.03 kB / 2.837 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/4.965, allocations: 121.1 kB / 2.837 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/4.967, allocations: 297.7 kB / 2.837 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/4.968, allocations: 0.5325 MB / 2.838 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/4.968, allocations: 59.12 kB / 2.838 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/4.968, allocations: 76.81 kB / 2.838 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/4.97, allocations: 0.8584 MB / 2.839 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/4.97, allocations: 3.984 kB / 2.839 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/4.97, allocations: 33.31 kB / 2.839 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/4.97, allocations: 20 kB / 2.839 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/4.972, allocations: 1.138 MB / 2.84 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/4.976, allocations: 2.37 MB / 2.842 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/4.977, allocations: 0.9116 MB / 2.843 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/4.978, allocations: 473.7 kB / 2.843 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000826/4.979, allocations: 479.1 kB / 2.844 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/4.979, allocations: 0 / 2.844 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.003161/4.982, allocations: 1.184 MB / 2.845 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/4.982, allocations: 166.6 kB / 2.845 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/4.983, allocations: 0.5013 MB / 2.846 GB, free: 111 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/4.983, allocations: 48.02 kB / 2.846 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/4.983, allocations: 330.8 kB / 2.846 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/4.983, allocations: 246.1 kB / 2.846 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/4.983, allocations: 14.62 kB / 2.846 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/4.983, allocations: 368.2 kB / 2.847 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/4.984, allocations: 252.6 kB / 2.847 GB, free: 110 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/4.984, allocations: 334.6 kB / 2.847 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/4.985, allocations: 287.9 kB / 2.847 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/4.985, allocations: 4 kB / 2.847 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001909/4.987, allocations: 0.7749 MB / 2.848 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/4.987, allocations: 10.5 kB / 2.848 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/4.987, allocations: 0 / 2.848 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/4.988, allocations: 92.28 kB / 2.848 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/4.988, allocations: 147.4 kB / 2.848 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/4.99, allocations: 1.529 MB / 2.85 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/4.991, allocations: 82.98 kB / 2.85 GB, free: 107.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/4.991, allocations: 27.42 kB / 2.85 GB, free: 107.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 () * Number of clocked 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.000354/4.991, allocations: 237.5 kB / 2.85 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/4.991, allocations: 75.09 kB / 2.85 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/4.994, allocations: 1.054 MB / 2.851 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/4.994, allocations: 12 kB / 2.851 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/4.994, allocations: 3.984 kB / 2.851 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/4.994, allocations: 3.984 kB / 2.851 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/4.997, allocations: 1.911 MB / 2.853 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/4.997, allocations: 0 / 2.853 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000709/4.998, allocations: 167.2 kB / 2.853 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/4.998, allocations: 80.41 kB / 2.853 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/4.998, allocations: 27.34 kB / 2.853 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/5, allocations: 1.551 MB / 2.855 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/5, allocations: 3.938 kB / 2.855 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/5.002, allocations: 0.9649 MB / 2.856 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/5.002, allocations: 279.5 kB / 2.856 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/5.003, allocations: 14.5 kB / 2.856 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/5.003, allocations: 71.25 kB / 2.856 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/5.003, allocations: 56.3 kB / 2.856 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/5.003, allocations: 27.67 kB / 2.856 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004941/5.004, allocations: 418.9 kB / 2.857 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/5.004, allocations: 7.938 kB / 2.857 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00119/5.005, allocations: 342.6 kB / 2.857 GB, free: 101 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) * Number of clocked states: 0 () * 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.004149/5.009, allocations: 2.444 MB / 2.859 GB, free: 98.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001819/5.011, allocations: 0.7905 MB / 2.86 GB, free: 98.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/5.011, allocations: 7.906 kB / 2.86 GB, free: 98.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/5.012, allocations: 0.5082 MB / 2.861 GB, free: 97.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/5.013, allocations: 201 kB / 2.861 GB, free: 97.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008533/5.021, allocations: 4.674 MB / 2.866 GB, free: 93.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/5.022, allocations: 0.9937 MB / 2.866 GB, free: 92.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009786/5.023, allocations: 245.2 kB / 2.867 GB, free: 92.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/5.023, allocations: 319.5 kB / 2.867 GB, free: 92.17 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/5.023, allocations: 4 kB / 2.867 GB, free: 92.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/5.065, allocations: 26.89 MB / 2.893 GB, free: 65.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/5.065, allocations: 282.4 kB / 2.894 GB, free: 65.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/7.904, allocations: 0 / 2.894 GB, free: 65.2 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)