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.001953/0.001953, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7949/0.7949, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.689/1.689, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 85.86 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.954e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2033, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/5.465, allocations: 1.693 GB / 2.334 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/5.465, allocations: 92.38 kB / 2.334 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1297/5.595, allocations: 58.63 MB / 2.391 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/5.595, allocations: 0 / 2.391 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001163/5.595, allocations: 24 kB / 2.391 GB, free: 147.2 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.002476/5.597, allocations: 1.049 MB / 2.392 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/5.597, allocations: 8.031 kB / 2.392 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002562/5.598, allocations: 122 kB / 2.392 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/5.599, allocations: 190.5 kB / 2.393 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/5.6, allocations: 0.6008 MB / 2.393 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/5.6, allocations: 62.8 kB / 2.393 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/5.6, allocations: 73 kB / 2.393 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/5.602, allocations: 0.8044 MB / 2.394 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/5.602, allocations: 0 / 2.394 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/5.602, allocations: 33.31 kB / 2.394 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/5.602, allocations: 23.95 kB / 2.394 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/5.603, allocations: 1.007 MB / 2.395 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/5.607, allocations: 2.37 MB / 2.397 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/5.608, allocations: 0.7445 MB / 2.398 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/5.609, allocations: 247.2 kB / 2.398 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-05/5.609, allocations: 36.14 kB / 2.398 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005725/5.609, allocations: 393.2 kB / 2.399 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.404e-06/5.609, allocations: 0 / 2.399 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001559/5.611, allocations: 0.6647 MB / 2.399 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/5.611, allocations: 245.6 kB / 2.4 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008678/5.612, allocations: 0.5685 MB / 2.4 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/5.612, allocations: 39.39 kB / 2.4 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/5.612, allocations: 373.2 kB / 2.401 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/5.613, allocations: 228.7 kB / 2.401 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/5.613, allocations: 11.94 kB / 2.401 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000112/5.613, allocations: 382.8 kB / 2.401 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/5.613, allocations: 189.5 kB / 2.401 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/5.613, allocations: 305.1 kB / 2.402 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/5.614, allocations: 234 kB / 2.402 GB, free: 138 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/5.614, allocations: 0 / 2.402 GB, free: 138 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001354/5.615, allocations: 0.6719 MB / 2.403 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/5.615, allocations: 4 kB / 2.403 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/5.615, allocations: 7.984 kB / 2.403 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/5.616, allocations: 80.84 kB / 2.403 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/5.616, allocations: 135.8 kB / 2.403 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/5.618, allocations: 1.505 MB / 2.404 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/5.619, allocations: 83.53 kB / 2.404 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/5.619, allocations: 23.98 kB / 2.404 GB, free: 135.3 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 () * 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.0001765/5.619, allocations: 145.9 kB / 2.405 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/5.619, allocations: 79.02 kB / 2.405 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/5.621, allocations: 0.9262 MB / 2.406 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/5.621, allocations: 8 kB / 2.406 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/5.621, allocations: 4 kB / 2.406 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/5.621, allocations: 3.984 kB / 2.406 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/5.624, allocations: 1.819 MB / 2.407 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/5.624, allocations: 0 / 2.407 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/5.624, allocations: 139.8 kB / 2.407 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/5.625, allocations: 88.72 kB / 2.408 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/5.625, allocations: 23.98 kB / 2.408 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/5.626, allocations: 1.544 MB / 2.409 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/5.626, allocations: 0 / 2.409 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/5.628, allocations: 0.8494 MB / 2.41 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/5.628, allocations: 275.8 kB / 2.41 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/5.628, allocations: 16 kB / 2.41 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/5.629, allocations: 63.95 kB / 2.41 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/5.629, allocations: 60.69 kB / 2.41 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/5.629, allocations: 31.92 kB / 2.41 GB, free: 129 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005668/5.63, allocations: 475.1 kB / 2.411 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.63, allocations: 0 / 2.411 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001222/5.631, allocations: 355.1 kB / 2.411 GB, free: 128.2 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) * 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.003634/5.635, allocations: 2.305 MB / 2.413 GB, free: 126 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001276/5.636, allocations: 0.6629 MB / 2.414 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/5.636, allocations: 0 / 2.414 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007134/5.637, allocations: 458.9 kB / 2.414 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/5.638, allocations: 236.2 kB / 2.415 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/5.642, allocations: 1.513 MB / 2.416 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/5.643, allocations: 1.008 MB / 2.417 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009359/5.644, allocations: 253.9 kB / 2.417 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/5.644, allocations: 339.3 kB / 2.418 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.623e-06/5.644, allocations: 0 / 2.418 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/5.701, allocations: 30.49 MB / 2.447 GB, free: 91.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003943/5.702, allocations: 238.8 kB / 2.448 GB, free: 90.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/8.775, allocations: 1.875 kB / 2.448 GB, free: 90.86 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)