Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.006346/0.006346, allocations: 170 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.7163/0.7163, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.424/1.424, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009778/0.0009777, allocations: 97.92 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003928, allocations: 15.98 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.022/4.362, allocations: 1.695 GB / 2.345 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/4.362, allocations: 94.88 kB / 2.345 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2091/4.571, allocations: 94.67 MB / 2.437 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.21e-06/4.571, allocations: 0 / 2.437 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001377/4.571, allocations: 36 kB / 2.437 GB, free: 154.8 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004262/4.576, allocations: 1.529 MB / 2.439 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7e-05/4.576, allocations: 8.031 kB / 2.439 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005661/4.576, allocations: 215.6 kB / 2.439 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/4.577, allocations: 241.9 kB / 2.439 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/4.579, allocations: 0.7873 MB / 2.44 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.554e-05/4.579, allocations: 105.3 kB / 2.44 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/4.58, allocations: 141.2 kB / 2.44 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/4.582, allocations: 1.409 MB / 2.442 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/4.582, allocations: 0 / 2.442 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/4.583, allocations: 58 kB / 2.442 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/4.583, allocations: 43.94 kB / 2.442 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/4.585, allocations: 1.514 MB / 2.443 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007161/4.592, allocations: 3.828 MB / 2.447 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/4.594, allocations: 0.9634 MB / 2.448 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/4.594, allocations: 40.92 kB / 2.448 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009184/4.595, allocations: 0.5826 MB / 2.449 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 3.657e-06/4.595, allocations: 0 / 2.449 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.003592/4.599, allocations: 1.494 MB / 2.45 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/4.599, allocations: 252.3 kB / 2.45 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/4.6, allocations: 0.7309 MB / 2.451 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/4.6, allocations: 41.7 kB / 2.451 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/4.601, allocations: 0.5583 MB / 2.452 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/4.601, allocations: 346.9 kB / 2.452 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/4.601, allocations: 20 kB / 2.452 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/4.601, allocations: 338 kB / 2.452 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/4.602, allocations: 341.8 kB / 2.453 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/4.602, allocations: 471.3 kB / 2.453 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/4.603, allocations: 411.2 kB / 2.453 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/4.603, allocations: 0 / 2.453 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002265/4.605, allocations: 1.067 MB / 2.454 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/4.605, allocations: 9.094 kB / 2.454 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/4.605, allocations: 0 / 2.454 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/4.606, allocations: 84.83 kB / 2.454 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/4.607, allocations: 219.7 kB / 2.455 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/4.609, allocations: 1.541 MB / 2.456 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/4.61, allocations: 115 kB / 2.456 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/4.61, allocations: 39.97 kB / 2.456 GB, free: 137 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 (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.0008314/4.611, allocations: 313.6 kB / 2.457 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/4.611, allocations: 102.8 kB / 2.457 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/4.614, allocations: 1.426 MB / 2.458 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/4.614, allocations: 8 kB / 2.458 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/4.614, allocations: 7.953 kB / 2.458 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/4.614, allocations: 7.969 kB / 2.458 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/4.619, allocations: 2.625 MB / 2.461 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/4.619, allocations: 4 kB / 2.461 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/4.62, allocations: 199.7 kB / 2.461 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/4.62, allocations: 84.77 kB / 2.461 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.681e-05/4.621, allocations: 27.98 kB / 2.461 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/4.622, allocations: 1.567 MB / 2.463 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/4.622, allocations: 0 / 2.463 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/4.625, allocations: 1.175 MB / 2.464 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007815/4.626, allocations: 371.1 kB / 2.464 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/4.626, allocations: 20 kB / 2.464 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/4.627, allocations: 79.89 kB / 2.464 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/4.627, allocations: 72.89 kB / 2.464 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/4.627, allocations: 39.97 kB / 2.464 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00106/4.628, allocations: 0.624 MB / 2.465 GB, free: 128 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/4.628, allocations: 0 / 2.465 GB, free: 128 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001654/4.63, allocations: 470.6 kB / 2.465 GB, free: 127.6 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 (115): * Single equations (assignments): 112 * 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.00475/4.635, allocations: 2.697 MB / 2.468 GB, free: 125 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002168/4.637, allocations: 1.007 MB / 2.469 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/4.637, allocations: 0 / 2.469 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/4.638, allocations: 0.6095 MB / 2.47 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/4.639, allocations: 253.6 kB / 2.47 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/4.652, allocations: 6.929 MB / 2.477 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/4.653, allocations: 1.193 MB / 2.478 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001255/4.654, allocations: 296.3 kB / 2.478 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/4.655, allocations: 0.5383 MB / 2.479 GB, free: 114 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/4.655, allocations: 3.938 kB / 2.479 GB, free: 114 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06695/4.722, allocations: 35.43 MB / 2.513 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/4.722, allocations: 259.4 kB / 2.513 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/7.979, allocations: 3.938 kB / 2.513 GB, free: 78.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)