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.7401/0.7401, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001457/0.001457, allocations: 184.8 kB / 169.7 MB, free: 1.742 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.807/1.807, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0009418/0.0009421, allocations: 90.41 kB / 481.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.629e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1534, allocations: 76.75 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.811/5.964, allocations: 2.147 GB / 2.775 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/5.965, allocations: 95.69 kB / 2.775 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1105/6.075, allocations: 53.22 MB / 2.827 GB, free: 82.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/6.075, allocations: 4 kB / 2.827 GB, free: 82.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.518e-05/6.075, allocations: 20 kB / 2.827 GB, free: 82.67 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.001755/6.077, allocations: 0.9967 MB / 2.828 GB, free: 81.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/6.077, allocations: 11.97 kB / 2.828 GB, free: 81.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/6.077, allocations: 122.6 kB / 2.828 GB, free: 81.49 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/6.079, allocations: 294.6 kB / 2.828 GB, free: 81.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/6.08, allocations: 0.5218 MB / 2.829 GB, free: 80.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/6.08, allocations: 54 kB / 2.829 GB, free: 80.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/6.08, allocations: 76 kB / 2.829 GB, free: 80.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/6.081, allocations: 0.7824 MB / 2.83 GB, free: 79.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/6.081, allocations: 3.938 kB / 2.83 GB, free: 79.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/6.081, allocations: 35.98 kB / 2.83 GB, free: 79.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/6.081, allocations: 20 kB / 2.83 GB, free: 79.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/6.083, allocations: 1.023 MB / 2.831 GB, free: 78.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/6.086, allocations: 2.325 MB / 2.833 GB, free: 76.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/6.087, allocations: 0.7678 MB / 2.834 GB, free: 75.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/6.087, allocations: 270.5 kB / 2.834 GB, free: 75.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/6.088, allocations: 466.1 kB / 2.835 GB, free: 74.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/6.089, allocations: 426.6 kB / 2.835 GB, free: 74.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/6.089, allocations: 0 / 2.835 GB, free: 74.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.001432/6.09, allocations: 0.6562 MB / 2.836 GB, free: 73.51 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/6.09, allocations: 166.8 kB / 2.836 GB, free: 73.31 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/6.091, allocations: 0.4929 MB / 2.836 GB, free: 72.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/6.091, allocations: 37.7 kB / 2.836 GB, free: 72.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/6.091, allocations: 328.5 kB / 2.837 GB, free: 72.44 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/6.091, allocations: 228.6 kB / 2.837 GB, free: 72.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/6.091, allocations: 15.94 kB / 2.837 GB, free: 72.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001267/6.091, allocations: 374.7 kB / 2.837 GB, free: 71.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/6.092, allocations: 205.5 kB / 2.837 GB, free: 71.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/6.092, allocations: 274.5 kB / 2.838 GB, free: 71.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/6.092, allocations: 238 kB / 2.838 GB, free: 71.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/6.092, allocations: 8 kB / 2.838 GB, free: 71.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001301/6.094, allocations: 0.6643 MB / 2.839 GB, free: 70.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/6.094, allocations: 4 kB / 2.839 GB, free: 70.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/6.094, allocations: 4.062 kB / 2.839 GB, free: 70.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/6.094, allocations: 76.77 kB / 2.839 GB, free: 70.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/6.095, allocations: 151.8 kB / 2.839 GB, free: 70.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/6.097, allocations: 1.513 MB / 2.84 GB, free: 68.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/6.097, allocations: 79.47 kB / 2.84 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/6.097, allocations: 27.98 kB / 2.84 GB, free: 68.43 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 (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.0001555/6.098, allocations: 144.5 kB / 2.841 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/6.098, allocations: 67.16 kB / 2.841 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/6.1, allocations: 0.9054 MB / 2.842 GB, free: 67.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/6.1, allocations: 8 kB / 2.842 GB, free: 67.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/6.1, allocations: 0 / 2.842 GB, free: 67.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/6.1, allocations: 7.984 kB / 2.842 GB, free: 67.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/6.102, allocations: 1.757 MB / 2.843 GB, free: 65.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/6.102, allocations: 4 kB / 2.843 GB, free: 65.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/6.103, allocations: 143.8 kB / 2.843 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/6.103, allocations: 84.77 kB / 2.843 GB, free: 65.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/6.103, allocations: 27.94 kB / 2.843 GB, free: 65.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/6.105, allocations: 1.532 MB / 2.845 GB, free: 63.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/6.105, allocations: 4 kB / 2.845 GB, free: 63.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/6.106, allocations: 0.8339 MB / 2.846 GB, free: 62.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/6.106, allocations: 271.9 kB / 2.846 GB, free: 62.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/6.107, allocations: 12 kB / 2.846 GB, free: 62.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/6.107, allocations: 71.84 kB / 2.846 GB, free: 62.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/6.107, allocations: 52.7 kB / 2.846 GB, free: 62.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/6.107, allocations: 31.98 kB / 2.846 GB, free: 62.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004419/6.108, allocations: 405.5 kB / 2.847 GB, free: 61.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/6.108, allocations: 0 / 2.847 GB, free: 61.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00117/6.109, allocations: 327.3 kB / 2.847 GB, free: 61.51 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 (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.003421/6.112, allocations: 2.282 MB / 2.849 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001268/6.114, allocations: 0.6669 MB / 2.85 GB, free: 58.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/6.114, allocations: 4 kB / 2.85 GB, free: 58.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00063/6.114, allocations: 462.9 kB / 2.85 GB, free: 58.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/6.115, allocations: 183.6 kB / 2.85 GB, free: 57.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/6.119, allocations: 1.433 MB / 2.852 GB, free: 56.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/6.12, allocations: 0.9795 MB / 2.853 GB, free: 55.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001057/6.121, allocations: 241 kB / 2.853 GB, free: 55.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/6.121, allocations: 303.3 kB / 2.853 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of SimCode: time 2.064e-06/6.122, allocations: 0 / 2.853 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05959/6.181, allocations: 28.2 MB / 2.881 GB, free: 26.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/6.181, allocations: 260.3 kB / 2.881 GB, free: 26.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/9.416, allocations: 0 / 2.881 GB, free: 26.63 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)