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.002355/0.002355, allocations: 175 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 1.315/1.315, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.129/3.129, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.001481/0.001481, allocations: 79.91 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.618e-05/9.673e-05, allocations: 6.219 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3556, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.991/10.35, allocations: 1.695 GB / 2.335 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/10.35, allocations: 89.44 kB / 2.335 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2288/10.58, allocations: 59.73 MB / 2.394 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.6e-06/10.58, allocations: 3.938 kB / 2.394 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002406/10.58, allocations: 27.94 kB / 2.394 GB, free: 144.6 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.005373/10.58, allocations: 1.081 MB / 2.395 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.000114/10.58, allocations: 12.03 kB / 2.395 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007796/10.58, allocations: 126.8 kB / 2.395 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/10.58, allocations: 190.5 kB / 2.395 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/10.59, allocations: 0.6191 MB / 2.396 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/10.59, allocations: 60.5 kB / 2.396 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/10.59, allocations: 77.81 kB / 2.396 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/10.59, allocations: 0.8519 MB / 2.397 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/10.59, allocations: 0 / 2.397 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/10.59, allocations: 33.56 kB / 2.397 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/10.59, allocations: 23.95 kB / 2.397 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/10.59, allocations: 1.069 MB / 2.398 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00646/10.6, allocations: 2.522 MB / 2.4 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/10.6, allocations: 0.7112 MB / 2.401 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/10.6, allocations: 271.6 kB / 2.401 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/10.6, allocations: 37.47 kB / 2.401 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/10.6, allocations: 424.2 kB / 2.402 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 8.536e-06/10.6, allocations: 4 kB / 2.402 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.003221/10.61, allocations: 0.711 MB / 2.402 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000256/10.61, allocations: 248.1 kB / 2.403 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/10.61, allocations: 0.5894 MB / 2.403 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/10.61, allocations: 37.7 kB / 2.403 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/10.61, allocations: 380.3 kB / 2.403 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/10.61, allocations: 252.3 kB / 2.404 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/10.61, allocations: 16 kB / 2.404 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003359/10.61, allocations: 378.8 kB / 2.404 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/10.61, allocations: 209.5 kB / 2.404 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/10.61, allocations: 325.1 kB / 2.405 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/10.61, allocations: 262 kB / 2.405 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/10.61, allocations: 0 / 2.405 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002957/10.62, allocations: 0.7227 MB / 2.406 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/10.62, allocations: 4 kB / 2.406 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/10.62, allocations: 3.938 kB / 2.406 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000938/10.62, allocations: 84.84 kB / 2.406 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/10.62, allocations: 143.8 kB / 2.406 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/10.62, allocations: 1.52 MB / 2.407 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/10.62, allocations: 83.44 kB / 2.407 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/10.62, allocations: 31.98 kB / 2.407 GB, free: 131.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 () * 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.0003505/10.62, allocations: 151 kB / 2.408 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/10.62, allocations: 78.97 kB / 2.408 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/10.63, allocations: 0.9974 MB / 2.409 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/10.63, allocations: 8 kB / 2.409 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/10.63, allocations: 3.953 kB / 2.409 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/10.63, allocations: 3.984 kB / 2.409 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00578/10.63, allocations: 1.885 MB / 2.41 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/10.63, allocations: 3.984 kB / 2.41 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/10.63, allocations: 155.8 kB / 2.411 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006921/10.63, allocations: 88.77 kB / 2.411 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/10.63, allocations: 19.98 kB / 2.411 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/10.64, allocations: 1.544 MB / 2.412 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/10.64, allocations: 7.922 kB / 2.412 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/10.64, allocations: 0.8844 MB / 2.413 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009026/10.64, allocations: 287.7 kB / 2.413 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/10.64, allocations: 19.98 kB / 2.413 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/10.64, allocations: 63.95 kB / 2.413 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/10.64, allocations: 68.64 kB / 2.413 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/10.64, allocations: 27.98 kB / 2.414 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001311/10.64, allocations: 495.1 kB / 2.414 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/10.64, allocations: 0 / 2.414 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002167/10.64, allocations: 367.2 kB / 2.414 GB, free: 124.5 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 (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.006286/10.65, allocations: 2.354 MB / 2.417 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002366/10.65, allocations: 0.7058 MB / 2.417 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/10.65, allocations: 4 kB / 2.417 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/10.65, allocations: 479 kB / 2.418 GB, free: 121 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/10.66, allocations: 240.7 kB / 2.418 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007244/10.66, allocations: 1.575 MB / 2.42 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/10.67, allocations: 1.024 MB / 2.421 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001748/10.67, allocations: 254.4 kB / 2.421 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008847/10.67, allocations: 363.3 kB / 2.421 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.296e-06/10.67, allocations: 4 kB / 2.421 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/10.78, allocations: 31.34 MB / 2.452 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004617/10.78, allocations: 258.9 kB / 2.452 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.475/16.26, allocations: 0 / 2.452 GB, free: 86.07 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)