Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5212/0.5212, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.1 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009531, allocations: 107.8 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 11.98 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1616, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.495/4.657, allocations: 1.684 GB / 2.253 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/4.657, allocations: 101.8 kB / 2.253 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1197/4.777, allocations: 58.92 MB / 2.31 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/4.777, allocations: 0 / 2.31 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.74e-05/4.777, allocations: 28 kB / 2.311 GB, free: 113.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001856/4.779, allocations: 1.16 MB / 2.312 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/4.779, allocations: 8.031 kB / 2.312 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/4.779, allocations: 134.7 kB / 2.312 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007885/4.78, allocations: 182.6 kB / 2.312 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/4.781, allocations: 0.6075 MB / 2.313 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/4.781, allocations: 58 kB / 2.313 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/4.781, allocations: 72 kB / 2.313 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/4.782, allocations: 0.8442 MB / 2.313 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/4.782, allocations: 0 / 2.313 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/4.782, allocations: 32 kB / 2.314 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/4.782, allocations: 20 kB / 2.314 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/4.784, allocations: 1.057 MB / 2.315 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/4.786, allocations: 2.356 MB / 2.317 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/4.788, allocations: 0.7931 MB / 2.318 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/4.788, allocations: 36.58 kB / 2.318 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000573/4.788, allocations: 413.7 kB / 2.318 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.234e-06/4.788, allocations: 4 kB / 2.318 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.002501/4.791, allocations: 1.067 MB / 2.319 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/4.791, allocations: 243.9 kB / 2.319 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/4.792, allocations: 0.5736 MB / 2.32 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/4.792, allocations: 41.7 kB / 2.32 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/4.792, allocations: 379.1 kB / 2.32 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/4.792, allocations: 232.6 kB / 2.321 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/4.792, allocations: 16 kB / 2.321 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001108/4.792, allocations: 374.8 kB / 2.321 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/4.792, allocations: 213.2 kB / 2.321 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/4.793, allocations: 315.7 kB / 2.321 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/4.793, allocations: 259.1 kB / 2.322 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/4.793, allocations: 0 / 2.322 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001371/4.795, allocations: 0.7041 MB / 2.322 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/4.795, allocations: 8 kB / 2.322 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/4.795, allocations: 0 / 2.322 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/4.795, allocations: 84.83 kB / 2.322 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/4.796, allocations: 131.8 kB / 2.323 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/4.797, allocations: 1.532 MB / 2.324 GB, free: 98.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/4.798, allocations: 83.53 kB / 2.324 GB, free: 98.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/4.798, allocations: 23.98 kB / 2.324 GB, free: 98.8 MB / 0.6042 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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.0003492/4.798, allocations: 251.4 kB / 2.324 GB, free: 98.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/4.799, allocations: 75.06 kB / 2.324 GB, free: 98.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/4.8, allocations: 0.9782 MB / 2.325 GB, free: 97.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/4.8, allocations: 8 kB / 2.325 GB, free: 97.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/4.8, allocations: 4 kB / 2.325 GB, free: 97.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/4.8, allocations: 11.92 kB / 2.325 GB, free: 97.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/4.803, allocations: 1.857 MB / 2.327 GB, free: 95.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/4.803, allocations: 0 / 2.327 GB, free: 95.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/4.803, allocations: 139.8 kB / 2.327 GB, free: 95.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004984/4.804, allocations: 84.77 kB / 2.327 GB, free: 95.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/4.804, allocations: 19.98 kB / 2.327 GB, free: 95.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/4.806, allocations: 1.555 MB / 2.329 GB, free: 93.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/4.806, allocations: 8.094 kB / 2.329 GB, free: 93.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/4.807, allocations: 0.8907 MB / 2.33 GB, free: 92.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/4.808, allocations: 279.8 kB / 2.33 GB, free: 92.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/4.808, allocations: 20 kB / 2.33 GB, free: 92.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/4.808, allocations: 59.89 kB / 2.33 GB, free: 92.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/4.808, allocations: 64.91 kB / 2.33 GB, free: 92.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/4.808, allocations: 31.94 kB / 2.33 GB, free: 92.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005134/4.809, allocations: 479 kB / 2.331 GB, free: 91.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/4.809, allocations: 0 / 2.331 GB, free: 91.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001103/4.81, allocations: 351.1 kB / 2.331 GB, free: 91.42 MB / 0.6042 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003571/4.814, allocations: 2.398 MB / 2.333 GB, free: 89.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001325/4.815, allocations: 0.7009 MB / 2.334 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/4.815, allocations: 4.125 kB / 2.334 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006932/4.816, allocations: 484.2 kB / 2.335 GB, free: 87.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/4.817, allocations: 234.6 kB / 2.335 GB, free: 87.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/4.825, allocations: 4.901 MB / 2.34 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/4.825, allocations: 1.004 MB / 2.341 GB, free: 81.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008404/4.826, allocations: 254 kB / 2.341 GB, free: 81.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/4.826, allocations: 339.3 kB / 2.341 GB, free: 81.18 MB / 0.6042 GB Notification: Performance of SimCode: time 1.934e-06/4.826, allocations: 0 / 2.341 GB, free: 81.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/4.874, allocations: 28.8 MB / 2.369 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/4.874, allocations: 278.6 kB / 2.37 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.268/8.142, allocations: 4.062 kB / 2.37 GB, free: 52.29 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)