Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.7602/0.7602, allocations: 128.7 MB / 143.7 MB, free: 2.344 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.001184/0.001184, allocations: 187.8 kB / 173.7 MB, free: 6.129 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.677/1.677, allocations: 205.4 MB / 409 MB, free: 10.52 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.0008449/0.0008447, allocations: 105.2 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 8.375 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 76.78 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.842/4.996, allocations: 2.147 GB / 2.782 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/4.996, allocations: 106.1 kB / 2.782 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1123/5.108, allocations: 53.49 MB / 2.835 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.606e-06/5.108, allocations: 0 / 2.835 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001029/5.109, allocations: 23.94 kB / 2.835 GB, free: 120.9 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002965/5.112, allocations: 1.086 MB / 2.836 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/5.112, allocations: 8.031 kB / 2.836 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/5.112, allocations: 123.7 kB / 2.836 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/5.114, allocations: 298 kB / 2.836 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/5.115, allocations: 0.5234 MB / 2.837 GB, free: 119 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/5.115, allocations: 66.88 kB / 2.837 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/5.116, allocations: 73.44 kB / 2.837 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/5.117, allocations: 0.8292 MB / 2.838 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/5.117, allocations: 0 / 2.838 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.254e-05/5.117, allocations: 33.44 kB / 2.838 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/5.117, allocations: 20 kB / 2.838 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/5.12, allocations: 1.124 MB / 2.839 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/5.124, allocations: 2.332 MB / 2.841 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/5.126, allocations: 0.8799 MB / 2.842 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/5.126, allocations: 477.2 kB / 2.842 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008322/5.127, allocations: 465.9 kB / 2.843 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/5.127, allocations: 0 / 2.843 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.003339/5.13, allocations: 1.155 MB / 2.844 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/5.131, allocations: 163.8 kB / 2.844 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/5.131, allocations: 0.4916 MB / 2.844 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/5.131, allocations: 40.77 kB / 2.845 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/5.131, allocations: 329.4 kB / 2.845 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/5.132, allocations: 237.2 kB / 2.845 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/5.132, allocations: 6.625 kB / 2.845 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001116/5.132, allocations: 375.3 kB / 2.845 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/5.132, allocations: 250.3 kB / 2.846 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/5.133, allocations: 328 kB / 2.846 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/5.134, allocations: 273.8 kB / 2.846 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.134, allocations: 0 / 2.846 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002022/5.136, allocations: 0.7538 MB / 2.847 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/5.136, allocations: 12.05 kB / 2.847 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/5.136, allocations: 0 / 2.847 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/5.136, allocations: 80.53 kB / 2.847 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/5.137, allocations: 147.7 kB / 2.847 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/5.139, allocations: 1.519 MB / 2.849 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/5.14, allocations: 81.11 kB / 2.849 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/5.14, allocations: 32.48 kB / 2.849 GB, free: 108.5 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 (72): * Single equations (assignments): 71 * 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.0003882/5.14, allocations: 240.3 kB / 2.849 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/5.14, allocations: 63.25 kB / 2.849 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/5.143, allocations: 1.005 MB / 2.85 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/5.143, allocations: 8 kB / 2.85 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/5.143, allocations: 0 / 2.85 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/5.143, allocations: 3.984 kB / 2.85 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/5.146, allocations: 1.848 MB / 2.852 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/5.146, allocations: 0 / 2.852 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/5.146, allocations: 151.5 kB / 2.852 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/5.147, allocations: 84.45 kB / 2.852 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/5.147, allocations: 19.61 kB / 2.852 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/5.148, allocations: 1.561 MB / 2.854 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/5.148, allocations: 0 / 2.854 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/5.15, allocations: 0.9185 MB / 2.855 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/5.151, allocations: 269.3 kB / 2.855 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/5.151, allocations: 18.56 kB / 2.855 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/5.151, allocations: 71 kB / 2.855 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/5.151, allocations: 52.2 kB / 2.855 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/5.151, allocations: 30.86 kB / 2.855 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004108/5.152, allocations: 411.3 kB / 2.855 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/5.152, allocations: 0 / 2.855 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001078/5.153, allocations: 331 kB / 2.856 GB, free: 102.6 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 (77): * Single equations (assignments): 74 * 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.004142/5.157, allocations: 2.391 MB / 2.858 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00173/5.159, allocations: 0.7565 MB / 2.859 GB, free: 99.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/5.159, allocations: 7.938 kB / 2.859 GB, free: 99.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008921/5.16, allocations: 0.4947 MB / 2.859 GB, free: 99.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/5.161, allocations: 200.6 kB / 2.859 GB, free: 99.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/5.169, allocations: 4.558 MB / 2.864 GB, free: 95.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/5.169, allocations: 0.9805 MB / 2.865 GB, free: 94.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009668/5.17, allocations: 241 kB / 2.865 GB, free: 94.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/5.171, allocations: 301.9 kB / 2.865 GB, free: 94.13 MB / 0.6511 GB Notification: Performance of SimCode: time 9.81e-07/5.171, allocations: 3.938 kB / 2.865 GB, free: 94.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/5.216, allocations: 26.44 MB / 2.891 GB, free: 67.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/5.216, allocations: 294.7 kB / 2.891 GB, free: 67.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/8.469, allocations: 0 / 2.891 GB, free: 67.59 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)