Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.007118/0.007118, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7401/0.7401, 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.451/1.451, allocations: 223.2 MB / 406.8 MB, free: 3.148 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.0009834/0.0009833, allocations: 97.39 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4834, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.421/4.904, allocations: 1.694 GB / 2.344 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/4.905, allocations: 98.89 kB / 2.344 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1325/5.037, allocations: 60.47 MB / 2.403 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.589e-06/5.037, allocations: 3.938 kB / 2.403 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001147/5.037, allocations: 23.53 kB / 2.403 GB, free: 174.7 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002979/5.04, allocations: 1.206 MB / 2.404 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/5.04, allocations: 11.75 kB / 2.404 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003085/5.041, allocations: 135.3 kB / 2.404 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/5.042, allocations: 186.4 kB / 2.405 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/5.043, allocations: 0.6277 MB / 2.405 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/5.043, allocations: 61.19 kB / 2.405 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/5.043, allocations: 74.94 kB / 2.405 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/5.045, allocations: 0.8953 MB / 2.406 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/5.045, allocations: 0 / 2.406 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/5.045, allocations: 34.66 kB / 2.406 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/5.045, allocations: 23.2 kB / 2.406 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/5.046, allocations: 1.106 MB / 2.407 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/5.05, allocations: 2.559 MB / 2.41 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/5.052, allocations: 0.8856 MB / 2.411 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/5.052, allocations: 35.3 kB / 2.411 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006996/5.053, allocations: 442.3 kB / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/5.053, allocations: 0 / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.00288/5.055, allocations: 1.143 MB / 2.412 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/5.056, allocations: 246.5 kB / 2.413 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007616/5.056, allocations: 0.5888 MB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/5.056, allocations: 47.84 kB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/5.057, allocations: 376.6 kB / 2.414 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/5.057, allocations: 249.4 kB / 2.414 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/5.057, allocations: 13.41 kB / 2.414 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001166/5.057, allocations: 380.7 kB / 2.414 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/5.057, allocations: 229 kB / 2.414 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/5.058, allocations: 342 kB / 2.415 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/5.058, allocations: 277.1 kB / 2.415 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/5.058, allocations: 3.984 kB / 2.415 GB, free: 169 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001578/5.06, allocations: 0.7553 MB / 2.416 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/5.06, allocations: 5.312 kB / 2.416 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/5.06, allocations: 3.906 kB / 2.416 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/5.061, allocations: 87.17 kB / 2.416 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/5.061, allocations: 148.2 kB / 2.416 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/5.063, allocations: 1.528 MB / 2.417 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/5.064, allocations: 89.64 kB / 2.418 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/5.064, allocations: 31.09 kB / 2.418 GB, free: 167.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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0004992/5.064, allocations: 263.2 kB / 2.418 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/5.064, allocations: 76.66 kB / 2.418 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/5.067, allocations: 1.075 MB / 2.419 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/5.067, allocations: 15.73 kB / 2.419 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/5.067, allocations: 3.953 kB / 2.419 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/5.067, allocations: 3.984 kB / 2.419 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/5.07, allocations: 1.99 MB / 2.421 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/5.07, allocations: 0 / 2.421 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/5.071, allocations: 159.8 kB / 2.421 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/5.071, allocations: 82.98 kB / 2.421 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/5.071, allocations: 23.55 kB / 2.421 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/5.073, allocations: 1.557 MB / 2.423 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/5.073, allocations: 4.062 kB / 2.423 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/5.075, allocations: 0.9657 MB / 2.424 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/5.076, allocations: 296.8 kB / 2.424 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/5.076, allocations: 19.78 kB / 2.424 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/5.077, allocations: 70.34 kB / 2.424 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/5.077, allocations: 66.89 kB / 2.424 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/5.077, allocations: 34.58 kB / 2.424 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008487/5.078, allocations: 487.9 kB / 2.425 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/5.078, allocations: 0 / 2.425 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001739/5.08, allocations: 388.7 kB / 2.425 GB, free: 163.8 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 (93): * Single equations (assignments): 90 * 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.004738/5.084, allocations: 2.482 MB / 2.427 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001687/5.086, allocations: 0.7632 MB / 2.428 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/5.086, allocations: 3.938 kB / 2.428 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000841/5.087, allocations: 0.5079 MB / 2.429 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/5.088, allocations: 238 kB / 2.429 GB, free: 162 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009056/5.097, allocations: 5.154 MB / 2.434 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/5.098, allocations: 1.034 MB / 2.435 GB, free: 158 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009678/5.099, allocations: 262 kB / 2.435 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/5.099, allocations: 368.3 kB / 2.435 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.044e-06/5.099, allocations: 0 / 2.435 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/5.15, allocations: 29.79 MB / 2.465 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/5.15, allocations: 270.6 kB / 2.465 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/8.229, allocations: 0 / 2.465 GB, free: 129.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)