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.001634/0.001634, allocations: 174.8 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.775/0.775, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.667/1.667, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.001017/0.001017, allocations: 96.83 kB / 483.3 MB, free: 5.789 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.051e-05, allocations: 3.688 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.095/5.281, allocations: 1.694 GB / 2.335 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/5.282, allocations: 98.81 kB / 2.335 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1357/5.417, allocations: 60.17 MB / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/5.417, allocations: 0 / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000104/5.418, allocations: 24 kB / 2.394 GB, free: 179.4 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.002524/5.42, allocations: 1.09 MB / 2.395 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/5.42, allocations: 8.031 kB / 2.395 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002669/5.42, allocations: 131.2 kB / 2.395 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/5.422, allocations: 198.4 kB / 2.395 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/5.423, allocations: 0.6114 MB / 2.396 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/5.423, allocations: 62 kB / 2.396 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/5.423, allocations: 83.98 kB / 2.396 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/5.424, allocations: 0.8638 MB / 2.397 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/5.424, allocations: 0 / 2.397 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/5.425, allocations: 36 kB / 2.397 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/5.425, allocations: 23.95 kB / 2.397 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/5.426, allocations: 1.065 MB / 2.398 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/5.43, allocations: 2.559 MB / 2.4 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/5.432, allocations: 0.8326 MB / 2.401 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/5.432, allocations: 275.1 kB / 2.401 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/5.432, allocations: 32.81 kB / 2.401 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006735/5.433, allocations: 429.3 kB / 2.402 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/5.433, allocations: 0 / 2.402 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001869/5.435, allocations: 0.7187 MB / 2.403 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/5.435, allocations: 240.1 kB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/5.436, allocations: 0.5855 MB / 2.403 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/5.436, allocations: 41.7 kB / 2.403 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/5.436, allocations: 380.4 kB / 2.404 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/5.437, allocations: 252.3 kB / 2.404 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/5.437, allocations: 12 kB / 2.404 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001684/5.437, allocations: 382.8 kB / 2.404 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/5.437, allocations: 205.5 kB / 2.405 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/5.438, allocations: 325 kB / 2.405 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/5.438, allocations: 254 kB / 2.405 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/5.438, allocations: 0 / 2.405 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001505/5.44, allocations: 0.7188 MB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/5.44, allocations: 8 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/5.44, allocations: 0 / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/5.44, allocations: 84.78 kB / 2.406 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/5.441, allocations: 147.7 kB / 2.406 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/5.443, allocations: 1.518 MB / 2.408 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/5.444, allocations: 91.36 kB / 2.408 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/5.444, allocations: 23.98 kB / 2.408 GB, free: 164.6 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 () * 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.0002033/5.444, allocations: 156.9 kB / 2.408 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/5.444, allocations: 86.95 kB / 2.408 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/5.446, allocations: 1.021 MB / 2.409 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/5.446, allocations: 11.95 kB / 2.409 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/5.446, allocations: 7.938 kB / 2.409 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/5.446, allocations: 3.984 kB / 2.409 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/5.449, allocations: 1.94 MB / 2.411 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/5.449, allocations: 0 / 2.411 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/5.45, allocations: 151.8 kB / 2.411 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/5.45, allocations: 88.77 kB / 2.411 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/5.45, allocations: 23.98 kB / 2.411 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/5.452, allocations: 1.548 MB / 2.413 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/5.452, allocations: 0 / 2.413 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/5.454, allocations: 0.9196 MB / 2.413 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/5.454, allocations: 291.7 kB / 2.414 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/5.454, allocations: 16 kB / 2.414 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/5.455, allocations: 71.97 kB / 2.414 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/5.455, allocations: 68.67 kB / 2.414 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/5.455, allocations: 35.98 kB / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000689/5.456, allocations: 479.1 kB / 2.414 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/5.456, allocations: 0 / 2.414 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001314/5.457, allocations: 379.1 kB / 2.415 GB, free: 157.1 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 (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.004013/5.461, allocations: 2.398 MB / 2.417 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001526/5.463, allocations: 0.7137 MB / 2.418 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/5.463, allocations: 0 / 2.418 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/5.464, allocations: 499 kB / 2.418 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/5.465, allocations: 243.8 kB / 2.418 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/5.47, allocations: 1.599 MB / 2.42 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/5.471, allocations: 1.032 MB / 2.421 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009156/5.472, allocations: 262.4 kB / 2.421 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/5.472, allocations: 367.3 kB / 2.422 GB, free: 150 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/5.472, allocations: 0 / 2.422 GB, free: 150 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/5.531, allocations: 31.52 MB / 2.452 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/5.531, allocations: 247.4 kB / 2.453 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/8.642, allocations: 2.031 kB / 2.453 GB, free: 118.4 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)