Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_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.7148/0.7148, allocations: 128.7 MB / 143.7 MB, free: 2.285 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.001138/0.001138, allocations: 176.4 kB / 173.7 MB, free: 6.121 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.64/1.64, 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.0008179/0.0008179, allocations: 86.92 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 17.06 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 76.76 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.752/4.901, allocations: 2.149 GB / 2.784 GB, free: 163 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/4.901, allocations: 91.39 kB / 2.784 GB, free: 163 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1954/5.096, allocations: 91.48 MB / 2.873 GB, free: 83.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.915e-06/5.096, allocations: 0 / 2.873 GB, free: 83.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000127/5.096, allocations: 28 kB / 2.873 GB, free: 83.95 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004082/5.101, allocations: 1.457 MB / 2.875 GB, free: 82.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/5.101, allocations: 8.031 kB / 2.875 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005747/5.101, allocations: 208.5 kB / 2.875 GB, free: 82.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/5.104, allocations: 360.1 kB / 2.875 GB, free: 82.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/5.105, allocations: 0.7022 MB / 2.876 GB, free: 81.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/5.105, allocations: 98.23 kB / 2.876 GB, free: 81.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/5.106, allocations: 135.4 kB / 2.876 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/5.109, allocations: 1.378 MB / 2.878 GB, free: 80.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/5.109, allocations: 0 / 2.878 GB, free: 80.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/5.109, allocations: 56.38 kB / 2.878 GB, free: 80.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/5.109, allocations: 40 kB / 2.878 GB, free: 80.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/5.112, allocations: 1.55 MB / 2.879 GB, free: 79.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006681/5.119, allocations: 3.597 MB / 2.883 GB, free: 76.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/5.121, allocations: 1.062 MB / 2.884 GB, free: 75.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000737/5.122, allocations: 486.5 kB / 2.884 GB, free: 74.97 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/5.123, allocations: 0.6225 MB / 2.885 GB, free: 74.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.739e-06/5.123, allocations: 0 / 2.885 GB, free: 74.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=104): time 0.004401/5.128, allocations: 1.576 MB / 2.886 GB, free: 72.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/5.128, allocations: 172.2 kB / 2.887 GB, free: 72.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/5.129, allocations: 0.6523 MB / 2.887 GB, free: 71.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/5.129, allocations: 45.7 kB / 2.887 GB, free: 71.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/5.129, allocations: 0.5231 MB / 2.888 GB, free: 71.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/5.13, allocations: 339 kB / 2.888 GB, free: 70.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/5.13, allocations: 20 kB / 2.888 GB, free: 70.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001457/5.13, allocations: 394.7 kB / 2.889 GB, free: 70.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007949/5.131, allocations: 377.8 kB / 2.889 GB, free: 70.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008125/5.131, allocations: 472.8 kB / 2.889 GB, free: 69.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/5.132, allocations: 434.8 kB / 2.89 GB, free: 69.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/5.132, allocations: 0 / 2.89 GB, free: 69.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002581/5.135, allocations: 1.114 MB / 2.891 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/5.135, allocations: 8 kB / 2.891 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/5.135, allocations: 0 / 2.891 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/5.136, allocations: 84.8 kB / 2.891 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/5.137, allocations: 227.6 kB / 2.891 GB, free: 67.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/5.139, allocations: 1.546 MB / 2.893 GB, free: 66.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/5.14, allocations: 119 kB / 2.893 GB, free: 66.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/5.14, allocations: 47.95 kB / 2.893 GB, free: 65.97 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 (116): * Single equations (assignments): 115 * 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.0007292/5.14, allocations: 297.6 kB / 2.893 GB, free: 65.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/5.141, allocations: 90.88 kB / 2.893 GB, free: 65.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/5.144, allocations: 1.445 MB / 2.895 GB, free: 64.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/5.144, allocations: 15.94 kB / 2.895 GB, free: 64.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/5.144, allocations: 0 / 2.895 GB, free: 64.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/5.144, allocations: 11.92 kB / 2.895 GB, free: 64.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/5.149, allocations: 2.602 MB / 2.897 GB, free: 61.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/5.149, allocations: 3.984 kB / 2.897 GB, free: 61.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/5.15, allocations: 207.7 kB / 2.897 GB, free: 61.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/5.15, allocations: 88.73 kB / 2.897 GB, free: 61.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/5.15, allocations: 27.97 kB / 2.897 GB, free: 61.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/5.152, allocations: 1.552 MB / 2.899 GB, free: 59.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/5.152, allocations: 4.031 kB / 2.899 GB, free: 59.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/5.155, allocations: 1.214 MB / 2.9 GB, free: 58.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/5.155, allocations: 359.2 kB / 2.901 GB, free: 57.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/5.156, allocations: 20 kB / 2.901 GB, free: 57.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/5.157, allocations: 75.94 kB / 2.901 GB, free: 57.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/5.157, allocations: 68.95 kB / 2.901 GB, free: 57.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.503e-05/5.157, allocations: 43.98 kB / 2.901 GB, free: 57.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00104/5.158, allocations: 0.5615 MB / 2.901 GB, free: 57.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.71e-07/5.158, allocations: 0 / 2.901 GB, free: 57.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001608/5.16, allocations: 458.6 kB / 2.902 GB, free: 56.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 (111): * Single equations (assignments): 108 * 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.004892/5.165, allocations: 2.708 MB / 2.904 GB, free: 54.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002365/5.167, allocations: 1.058 MB / 2.905 GB, free: 52.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/5.167, allocations: 4 kB / 2.905 GB, free: 52.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/5.168, allocations: 0.6445 MB / 2.906 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/5.169, allocations: 210.9 kB / 2.906 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/5.181, allocations: 6.524 MB / 2.913 GB, free: 45.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/5.182, allocations: 1.165 MB / 2.914 GB, free: 44.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00143/5.184, allocations: 291.2 kB / 2.914 GB, free: 43.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/5.185, allocations: 0.4992 MB / 2.914 GB, free: 43.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.482e-06/5.185, allocations: 0 / 2.914 GB, free: 43.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/5.241, allocations: 33.04 MB / 2.947 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/5.241, allocations: 276.9 kB / 2.947 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/8.294, allocations: 2.812 kB / 2.947 GB, free: 10.25 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)