Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_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.002621/0.002621, 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.336/1.336, 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 2.884/2.884, allocations: 221.3 MB / 400.4 MB, free: 5.887 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.001472/0.001472, allocations: 89.78 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.309e-05/7.363e-05, allocations: 6.328 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.719/10.1, allocations: 1.694 GB / 2.335 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004125/10.1, allocations: 91.95 kB / 2.335 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1964/10.3, allocations: 60.16 MB / 2.394 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.33e-06/10.3, allocations: 0 / 2.394 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001346/10.3, allocations: 31.92 kB / 2.394 GB, free: 179.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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003585/10.3, allocations: 1.078 MB / 2.395 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001012/10.3, allocations: 12.03 kB / 2.395 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/10.31, allocations: 139.2 kB / 2.395 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/10.31, allocations: 190.5 kB / 2.395 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/10.31, allocations: 0.6192 MB / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/10.31, allocations: 62 kB / 2.396 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/10.31, allocations: 84 kB / 2.396 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/10.31, allocations: 0.8561 MB / 2.397 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/10.31, allocations: 4 kB / 2.397 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/10.31, allocations: 39.98 kB / 2.397 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/10.31, allocations: 23.95 kB / 2.397 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/10.31, allocations: 1.058 MB / 2.398 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007155/10.32, allocations: 2.563 MB / 2.4 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/10.32, allocations: 0.835 MB / 2.401 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/10.32, allocations: 271.2 kB / 2.401 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/10.33, allocations: 36.8 kB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/10.33, allocations: 425.3 kB / 2.402 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 8.005e-06/10.33, allocations: 0 / 2.402 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.002652/10.33, allocations: 0.7148 MB / 2.403 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/10.33, allocations: 240.1 kB / 2.403 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/10.33, allocations: 0.5855 MB / 2.403 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/10.33, allocations: 41.7 kB / 2.403 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/10.33, allocations: 380.4 kB / 2.404 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/10.33, allocations: 256.3 kB / 2.404 GB, free: 169 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/10.33, allocations: 12 kB / 2.404 GB, free: 169 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002188/10.33, allocations: 382.8 kB / 2.404 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/10.33, allocations: 205.5 kB / 2.405 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/10.33, allocations: 325 kB / 2.405 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/10.33, allocations: 250 kB / 2.405 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/10.33, allocations: 0 / 2.405 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002398/10.34, allocations: 0.7188 MB / 2.406 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/10.34, allocations: 8 kB / 2.406 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/10.34, allocations: 3.938 kB / 2.406 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/10.34, allocations: 92.77 kB / 2.406 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/10.34, allocations: 143.8 kB / 2.406 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/10.34, allocations: 1.512 MB / 2.408 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/10.34, allocations: 91.42 kB / 2.408 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/10.34, allocations: 27.97 kB / 2.408 GB, free: 165.1 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.0003699/10.34, allocations: 151 kB / 2.408 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/10.34, allocations: 82.97 kB / 2.408 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/10.35, allocations: 1.025 MB / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/10.35, allocations: 11.95 kB / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/10.35, allocations: 11.92 kB / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/10.35, allocations: 3.984 kB / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/10.35, allocations: 1.936 MB / 2.411 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/10.35, allocations: 0 / 2.411 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/10.35, allocations: 155.8 kB / 2.411 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007021/10.35, allocations: 84.78 kB / 2.411 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/10.35, allocations: 27.98 kB / 2.411 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/10.36, allocations: 1.548 MB / 2.413 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/10.36, allocations: 0 / 2.413 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/10.36, allocations: 0.9157 MB / 2.413 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/10.36, allocations: 291.7 kB / 2.414 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/10.36, allocations: 16 kB / 2.414 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/10.36, allocations: 71.89 kB / 2.414 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/10.36, allocations: 64.69 kB / 2.414 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/10.36, allocations: 35.98 kB / 2.414 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001145/10.36, allocations: 487.1 kB / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.31e-07/10.36, allocations: 0 / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002072/10.37, allocations: 379.1 kB / 2.415 GB, free: 157.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 (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.005902/10.37, allocations: 2.406 MB / 2.417 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002215/10.37, allocations: 0.7059 MB / 2.418 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/10.37, allocations: 0 / 2.418 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/10.37, allocations: 0.4951 MB / 2.418 GB, free: 154 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/10.38, allocations: 236.9 kB / 2.418 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/10.38, allocations: 1.599 MB / 2.42 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/10.39, allocations: 1.032 MB / 2.421 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001431/10.39, allocations: 274.3 kB / 2.421 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/10.39, allocations: 363.3 kB / 2.422 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.894e-06/10.39, allocations: 0 / 2.422 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09804/10.49, allocations: 31.52 MB / 2.452 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/10.49, allocations: 249 kB / 2.453 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.784/16.27, allocations: 0 / 2.453 GB, free: 118.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)