Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.005105/0.005105, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7241/0.7241, allocations: 135.2 MB / 151 MB, free: 13.82 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.471/1.471, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.001001/0.001001, allocations: 94.67 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 15.98 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4158, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.427/4.843, allocations: 1.695 GB / 2.344 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/4.843, allocations: 111.2 kB / 2.344 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1419/4.985, allocations: 60.02 MB / 2.403 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/4.985, allocations: 0 / 2.403 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001509/4.986, allocations: 23.53 kB / 2.403 GB, free: 175.1 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.003968/4.99, allocations: 1.195 MB / 2.404 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/4.99, allocations: 11.81 kB / 2.404 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004764/4.99, allocations: 135.6 kB / 2.404 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/4.992, allocations: 192.2 kB / 2.405 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/4.993, allocations: 0.6169 MB / 2.405 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/4.994, allocations: 65.31 kB / 2.405 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/4.994, allocations: 78.78 kB / 2.405 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/4.996, allocations: 0.8784 MB / 2.406 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/4.996, allocations: 0 / 2.406 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/4.996, allocations: 35.38 kB / 2.406 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/4.996, allocations: 23.14 kB / 2.406 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/4.999, allocations: 1.11 MB / 2.407 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/5.005, allocations: 2.527 MB / 2.41 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/5.007, allocations: 0.7516 MB / 2.41 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/5.007, allocations: 37.06 kB / 2.411 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/5.008, allocations: 443 kB / 2.411 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 4.778e-06/5.008, allocations: 0 / 2.411 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.004113/5.012, allocations: 1.136 MB / 2.412 GB, free: 171 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/5.012, allocations: 250.8 kB / 2.412 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/5.013, allocations: 0.5862 MB / 2.413 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/5.014, allocations: 43.42 kB / 2.413 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/5.014, allocations: 382.5 kB / 2.413 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/5.014, allocations: 256.1 kB / 2.414 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/5.014, allocations: 13.78 kB / 2.414 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001884/5.015, allocations: 380.8 kB / 2.414 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/5.015, allocations: 232.8 kB / 2.414 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/5.016, allocations: 339.6 kB / 2.414 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/5.017, allocations: 278.8 kB / 2.415 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/5.017, allocations: 0 / 2.415 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002522/5.019, allocations: 0.7668 MB / 2.415 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/5.019, allocations: 3.906 kB / 2.415 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/5.019, allocations: 0 / 2.415 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008016/5.02, allocations: 89.19 kB / 2.416 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/5.021, allocations: 147.5 kB / 2.416 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/5.024, allocations: 1.532 MB / 2.417 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/5.024, allocations: 88.91 kB / 2.417 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/5.025, allocations: 31.03 kB / 2.417 GB, free: 167.9 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 (80): * Single equations (assignments): 79 * 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.0006736/5.025, allocations: 259.3 kB / 2.418 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/5.026, allocations: 78.03 kB / 2.418 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/5.029, allocations: 1.041 MB / 2.419 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/5.029, allocations: 7.812 kB / 2.419 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/5.029, allocations: 7.859 kB / 2.419 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/5.029, allocations: 3.984 kB / 2.419 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/5.033, allocations: 1.942 MB / 2.421 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/5.034, allocations: 0 / 2.421 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/5.034, allocations: 156.3 kB / 2.421 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/5.035, allocations: 82.73 kB / 2.421 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/5.035, allocations: 23.48 kB / 2.421 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/5.037, allocations: 1.557 MB / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/5.037, allocations: 0 / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/5.04, allocations: 0.9396 MB / 2.423 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/5.041, allocations: 289.3 kB / 2.424 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/5.041, allocations: 23.03 kB / 2.424 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/5.042, allocations: 66.62 kB / 2.424 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/5.042, allocations: 66.58 kB / 2.424 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/5.042, allocations: 32.86 kB / 2.424 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009658/5.043, allocations: 499.3 kB / 2.424 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.263e-06/5.043, allocations: 0 / 2.424 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001775/5.045, allocations: 357.8 kB / 2.425 GB, free: 164.3 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 (87): * Single equations (assignments): 84 * 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.00551/5.051, allocations: 2.446 MB / 2.427 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001999/5.053, allocations: 0.758 MB / 2.428 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/5.053, allocations: 0 / 2.428 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/5.054, allocations: 0.4987 MB / 2.428 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/5.055, allocations: 233.5 kB / 2.428 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/5.069, allocations: 5.141 MB / 2.433 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/5.069, allocations: 1.022 MB / 2.434 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001359/5.071, allocations: 265.9 kB / 2.435 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/5.071, allocations: 363 kB / 2.435 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.595e-06/5.071, allocations: 0 / 2.435 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0762/5.148, allocations: 29.63 MB / 2.464 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/5.148, allocations: 273.4 kB / 2.464 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.353/8.501, allocations: 4 kB / 2.464 GB, free: 130.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)