Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.7366/0.7366, 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.001042/0.001042, allocations: 184.9 kB / 169.7 MB, free: 1.719 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.85/1.85, allocations: 205.1 MB / 404.5 MB, free: 1.578 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.001018/0.001018, allocations: 86.41 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.469e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1902, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.276/6.466, allocations: 2.148 GB / 2.776 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/6.467, allocations: 95.5 kB / 2.776 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1141/6.581, allocations: 54.32 MB / 2.829 GB, free: 80.65 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.785e-06/6.581, allocations: 0 / 2.829 GB, free: 80.65 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.231e-05/6.581, allocations: 24 kB / 2.829 GB, free: 80.63 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001911/6.583, allocations: 1.016 MB / 2.83 GB, free: 79.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/6.583, allocations: 11.97 kB / 2.83 GB, free: 79.55 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/6.583, allocations: 130.8 kB / 2.831 GB, free: 79.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/6.585, allocations: 310.3 kB / 2.831 GB, free: 79.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/6.586, allocations: 0.5258 MB / 2.831 GB, free: 78.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/6.586, allocations: 61.94 kB / 2.831 GB, free: 78.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/6.586, allocations: 83.98 kB / 2.831 GB, free: 78.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/6.587, allocations: 0.8215 MB / 2.832 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/6.587, allocations: 3.984 kB / 2.832 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/6.588, allocations: 32 kB / 2.832 GB, free: 77.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/6.588, allocations: 20 kB / 2.832 GB, free: 77.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/6.589, allocations: 1.069 MB / 2.833 GB, free: 76.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/6.593, allocations: 2.414 MB / 2.836 GB, free: 73.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/6.594, allocations: 0.7312 MB / 2.836 GB, free: 73.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/6.594, allocations: 287.7 kB / 2.837 GB, free: 72.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/6.595, allocations: 474.2 kB / 2.837 GB, free: 72.37 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006956/6.596, allocations: 454.1 kB / 2.838 GB, free: 71.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 3.627e-06/6.596, allocations: 3.938 kB / 2.838 GB, free: 71.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.001642/6.597, allocations: 0.7159 MB / 2.838 GB, free: 71.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/6.597, allocations: 171 kB / 2.838 GB, free: 70.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/6.598, allocations: 0.5009 MB / 2.839 GB, free: 70.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/6.598, allocations: 41.7 kB / 2.839 GB, free: 70.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/6.598, allocations: 336.5 kB / 2.839 GB, free: 70.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/6.598, allocations: 248.4 kB / 2.84 GB, free: 69.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/6.598, allocations: 12 kB / 2.84 GB, free: 69.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/6.598, allocations: 370.8 kB / 2.84 GB, free: 69.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/6.599, allocations: 221.5 kB / 2.84 GB, free: 69.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/6.599, allocations: 302.5 kB / 2.84 GB, free: 68.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/6.6, allocations: 262 kB / 2.841 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/6.6, allocations: 4 kB / 2.841 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001448/6.601, allocations: 0.715 MB / 2.841 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/6.601, allocations: 8.016 kB / 2.841 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/6.601, allocations: 8 kB / 2.841 GB, free: 67.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/6.602, allocations: 76.78 kB / 2.841 GB, free: 67.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/6.602, allocations: 167.8 kB / 2.842 GB, free: 67.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/6.604, allocations: 1.517 MB / 2.843 GB, free: 66.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/6.605, allocations: 83.34 kB / 2.843 GB, free: 65.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/6.605, allocations: 32.03 kB / 2.843 GB, free: 65.91 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 (80): * Single equations (assignments): 79 * 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.0001821/6.605, allocations: 144.9 kB / 2.843 GB, free: 65.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/6.605, allocations: 75.11 kB / 2.843 GB, free: 65.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/6.607, allocations: 0.9886 MB / 2.844 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/6.607, allocations: 8 kB / 2.844 GB, free: 64.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/6.607, allocations: 0 / 2.844 GB, free: 64.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/6.607, allocations: 7.922 kB / 2.844 GB, free: 64.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/6.61, allocations: 1.823 MB / 2.846 GB, free: 62.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/6.61, allocations: 7.922 kB / 2.846 GB, free: 62.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/6.611, allocations: 151.8 kB / 2.846 GB, free: 62.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/6.611, allocations: 88.7 kB / 2.846 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/6.611, allocations: 23.98 kB / 2.846 GB, free: 62.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/6.613, allocations: 1.54 MB / 2.848 GB, free: 60.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/6.613, allocations: 0 / 2.848 GB, free: 60.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/6.614, allocations: 0.8728 MB / 2.849 GB, free: 59.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/6.615, allocations: 279.8 kB / 2.849 GB, free: 59.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/6.615, allocations: 16 kB / 2.849 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/6.616, allocations: 67.94 kB / 2.849 GB, free: 59.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/6.616, allocations: 56.7 kB / 2.849 GB, free: 59.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/6.616, allocations: 27.98 kB / 2.849 GB, free: 59.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006067/6.617, allocations: 425.5 kB / 2.85 GB, free: 59.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/6.617, allocations: 0 / 2.85 GB, free: 59.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001361/6.618, allocations: 359 kB / 2.85 GB, free: 58.71 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.00403/6.622, allocations: 2.305 MB / 2.852 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001442/6.624, allocations: 0.7097 MB / 2.853 GB, free: 55.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/6.624, allocations: 4 kB / 2.853 GB, free: 55.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/6.624, allocations: 483.1 kB / 2.853 GB, free: 55.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/6.625, allocations: 193.8 kB / 2.854 GB, free: 55.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/6.63, allocations: 1.505 MB / 2.855 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/6.63, allocations: 0.9916 MB / 2.856 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00108/6.631, allocations: 261.2 kB / 2.856 GB, free: 52.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/6.632, allocations: 319.3 kB / 2.857 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/6.632, allocations: 0 / 2.857 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/6.703, allocations: 29.03 MB / 2.885 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/6.703, allocations: 268.5 kB / 2.885 GB, free: 22.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/10.03, allocations: 3.938 kB / 2.885 GB, free: 22.78 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)