Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.7565/0.7565, allocations: 127.3 MB / 139.8 MB, free: 15.44 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.001575/0.001575, allocations: 179.8 kB / 169.7 MB, free: 1.738 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.803/1.803, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.001057/0.001057, allocations: 94.44 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.309e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1673, allocations: 76.76 MB / 0.6283 GB, free: 9.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.503/5.67, allocations: 2.147 GB / 2.775 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/5.671, allocations: 97.69 kB / 2.775 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1141/5.785, allocations: 53.83 MB / 2.828 GB, free: 82.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.897e-06/5.785, allocations: 0 / 2.828 GB, free: 82.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.019e-05/5.785, allocations: 16 kB / 2.828 GB, free: 82.14 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001769/5.787, allocations: 1.005 MB / 2.829 GB, free: 81.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/5.787, allocations: 8.031 kB / 2.829 GB, free: 81.08 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/5.787, allocations: 122.7 kB / 2.829 GB, free: 80.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/5.789, allocations: 302.4 kB / 2.829 GB, free: 80.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/5.79, allocations: 0.5258 MB / 2.83 GB, free: 80.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/5.79, allocations: 58 kB / 2.83 GB, free: 80.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/5.79, allocations: 75.94 kB / 2.83 GB, free: 79.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/5.791, allocations: 0.8019 MB / 2.831 GB, free: 79.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/5.791, allocations: 0 / 2.831 GB, free: 79.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/5.791, allocations: 36 kB / 2.831 GB, free: 79.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/5.791, allocations: 16 kB / 2.831 GB, free: 79.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/5.792, allocations: 1.038 MB / 2.832 GB, free: 78.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/5.796, allocations: 2.368 MB / 2.834 GB, free: 75.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/5.797, allocations: 0.778 MB / 2.835 GB, free: 74.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/5.797, allocations: 283.2 kB / 2.835 GB, free: 74.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/5.798, allocations: 474.1 kB / 2.836 GB, free: 73.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/5.798, allocations: 433.9 kB / 2.836 GB, free: 73.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 2.295e-06/5.798, allocations: 0 / 2.836 GB, free: 73.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.001503/5.8, allocations: 0.6848 MB / 2.837 GB, free: 72.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/5.8, allocations: 174.9 kB / 2.837 GB, free: 72.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/5.801, allocations: 0.4968 MB / 2.837 GB, free: 72.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/5.801, allocations: 41.7 kB / 2.837 GB, free: 72.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/5.801, allocations: 336.5 kB / 2.838 GB, free: 71.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/5.801, allocations: 232.6 kB / 2.838 GB, free: 71.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/5.801, allocations: 12 kB / 2.838 GB, free: 71.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001186/5.801, allocations: 366.8 kB / 2.838 GB, free: 71.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/5.802, allocations: 201.5 kB / 2.838 GB, free: 70.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/5.802, allocations: 286.5 kB / 2.839 GB, free: 70.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/5.802, allocations: 246 kB / 2.839 GB, free: 70.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/5.802, allocations: 0 / 2.839 GB, free: 70.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001321/5.804, allocations: 0.6876 MB / 2.84 GB, free: 69.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/5.804, allocations: 6.812 kB / 2.84 GB, free: 69.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/5.804, allocations: 4 kB / 2.84 GB, free: 69.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/5.804, allocations: 84.8 kB / 2.84 GB, free: 69.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/5.805, allocations: 147.8 kB / 2.84 GB, free: 69.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/5.807, allocations: 1.517 MB / 2.841 GB, free: 67.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/5.807, allocations: 79.55 kB / 2.841 GB, free: 67.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/5.807, allocations: 31.98 kB / 2.841 GB, free: 67.68 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 (74): * Single equations (assignments): 73 * 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.0001475/5.807, allocations: 140 kB / 2.842 GB, free: 67.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/5.808, allocations: 71.16 kB / 2.842 GB, free: 67.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/5.809, allocations: 0.9643 MB / 2.843 GB, free: 66.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/5.809, allocations: 8 kB / 2.843 GB, free: 66.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/5.809, allocations: 0 / 2.843 GB, free: 66.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/5.809, allocations: 3.984 kB / 2.843 GB, free: 66.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/5.812, allocations: 1.804 MB / 2.844 GB, free: 64.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/5.812, allocations: 0 / 2.844 GB, free: 64.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/5.813, allocations: 159.7 kB / 2.844 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/5.813, allocations: 84.77 kB / 2.845 GB, free: 64.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/5.813, allocations: 27.92 kB / 2.845 GB, free: 64.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/5.814, allocations: 1.544 MB / 2.846 GB, free: 62.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/5.814, allocations: 0 / 2.846 GB, free: 62.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/5.816, allocations: 0.8533 MB / 2.847 GB, free: 61.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/5.816, allocations: 275.9 kB / 2.847 GB, free: 61.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.599e-05/5.816, allocations: 19.98 kB / 2.847 GB, free: 61.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/5.817, allocations: 71.84 kB / 2.847 GB, free: 61.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/5.817, allocations: 60.64 kB / 2.847 GB, free: 61.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/5.817, allocations: 31.98 kB / 2.847 GB, free: 61.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004027/5.817, allocations: 409.5 kB / 2.848 GB, free: 60.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.11e-07/5.817, allocations: 0 / 2.848 GB, free: 60.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001055/5.818, allocations: 343.2 kB / 2.848 GB, free: 60.59 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 (82): * Single equations (assignments): 79 * 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.003104/5.822, allocations: 2.302 MB / 2.85 GB, free: 58.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001134/5.823, allocations: 0.694 MB / 2.851 GB, free: 57.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/5.823, allocations: 0 / 2.851 GB, free: 57.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006217/5.823, allocations: 475.1 kB / 2.851 GB, free: 57.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/5.824, allocations: 189.8 kB / 2.852 GB, free: 56.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/5.827, allocations: 1.474 MB / 2.853 GB, free: 55.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/5.828, allocations: 0.9915 MB / 2.854 GB, free: 54.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008732/5.829, allocations: 245.1 kB / 2.854 GB, free: 54.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/5.829, allocations: 323.3 kB / 2.855 GB, free: 53.88 MB / 0.6511 GB Notification: Performance of SimCode: time 5.92e-07/5.829, allocations: 0 / 2.855 GB, free: 53.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/5.88, allocations: 28.61 MB / 2.883 GB, free: 25.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/5.88, allocations: 253.2 kB / 2.883 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/9.106, allocations: 0 / 2.883 GB, free: 25.16 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)