Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_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.01104/0.01104, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7758/0.7758, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 98.38 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4908, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.968/4.459, allocations: 1.693 GB / 2.343 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000385/4.46, allocations: 96.73 kB / 2.343 GB, free: 23.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5395/4.999, allocations: 58.92 MB / 2.401 GB, free: 241.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.877e-06/4.999, allocations: 0 / 2.401 GB, free: 241.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001309/5, allocations: 25.72 kB / 2.401 GB, free: 241.9 MB / 0.6823 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.003075/5.003, allocations: 1.166 MB / 2.402 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/5.003, allocations: 12.03 kB / 2.402 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003544/5.003, allocations: 126.8 kB / 2.402 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/5.004, allocations: 186.5 kB / 2.402 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/5.006, allocations: 0.6031 MB / 2.403 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/5.006, allocations: 61.98 kB / 2.403 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/5.006, allocations: 76 kB / 2.403 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/5.007, allocations: 0.8286 MB / 2.404 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/5.008, allocations: 3.938 kB / 2.404 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/5.008, allocations: 36 kB / 2.404 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/5.008, allocations: 20 kB / 2.404 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/5.009, allocations: 1.054 MB / 2.405 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/5.013, allocations: 2.363 MB / 2.407 GB, free: 235.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/5.015, allocations: 0.7894 MB / 2.408 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/5.015, allocations: 28.34 kB / 2.408 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000665/5.015, allocations: 417.7 kB / 2.408 GB, free: 234 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.156e-06/5.015, allocations: 0 / 2.408 GB, free: 234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002886/5.018, allocations: 1.072 MB / 2.409 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/5.018, allocations: 247.8 kB / 2.41 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/5.019, allocations: 0.5852 MB / 2.41 GB, free: 232 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.933e-05/5.02, allocations: 37.7 kB / 2.41 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/5.02, allocations: 368.3 kB / 2.41 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/5.02, allocations: 228.6 kB / 2.411 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/5.02, allocations: 12 kB / 2.411 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.02, allocations: 374.8 kB / 2.411 GB, free: 231 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/5.021, allocations: 213.2 kB / 2.411 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/5.021, allocations: 319.7 kB / 2.412 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/5.022, allocations: 263 kB / 2.412 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/5.022, allocations: 0 / 2.412 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001712/5.023, allocations: 0.7042 MB / 2.412 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/5.023, allocations: 4 kB / 2.413 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/5.023, allocations: 0 / 2.413 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/5.024, allocations: 92.78 kB / 2.413 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/5.025, allocations: 127.8 kB / 2.413 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/5.027, allocations: 1.536 MB / 2.414 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/5.027, allocations: 75.38 kB / 2.414 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/5.027, allocations: 31.97 kB / 2.414 GB, free: 227.4 MB / 0.6823 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.0004669/5.028, allocations: 241.8 kB / 2.415 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/5.028, allocations: 75.06 kB / 2.415 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/5.03, allocations: 0.978 MB / 2.416 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/5.03, allocations: 8 kB / 2.416 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/5.03, allocations: 0 / 2.416 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/5.03, allocations: 7.922 kB / 2.416 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/5.033, allocations: 1.857 MB / 2.417 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/5.033, allocations: 48 / 2.417 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/5.034, allocations: 147.8 kB / 2.418 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/5.034, allocations: 84.77 kB / 2.418 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/5.034, allocations: 19.98 kB / 2.418 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/5.036, allocations: 1.555 MB / 2.419 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/5.036, allocations: 4.062 kB / 2.419 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/5.038, allocations: 0.8985 MB / 2.42 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/5.038, allocations: 275.8 kB / 2.42 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/5.038, allocations: 16 kB / 2.42 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/5.039, allocations: 71.89 kB / 2.42 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/5.039, allocations: 56.91 kB / 2.42 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/5.039, allocations: 27.98 kB / 2.42 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007567/5.04, allocations: 479 kB / 2.421 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.04, allocations: 0 / 2.421 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001444/5.042, allocations: 351 kB / 2.421 GB, free: 220.1 MB / 0.6823 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.004109/5.046, allocations: 2.396 MB / 2.424 GB, free: 218 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001369/5.047, allocations: 0.7044 MB / 2.424 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/5.047, allocations: 4 kB / 2.424 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007805/5.048, allocations: 488.2 kB / 2.425 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/5.049, allocations: 232.5 kB / 2.425 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/5.058, allocations: 4.909 MB / 2.43 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/5.059, allocations: 1.007 MB / 2.431 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009183/5.06, allocations: 253.9 kB / 2.431 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/5.06, allocations: 339.3 kB / 2.431 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.454e-06/5.06, allocations: 0 / 2.431 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05708/5.117, allocations: 28.8 MB / 2.459 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/5.118, allocations: 268 kB / 2.46 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/8.221, allocations: 0 / 2.46 GB, free: 181.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)