Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002852/0.002853, allocations: 175.2 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.374/1.374, 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.222/3.222, allocations: 221.3 MB / 400.4 MB, free: 5.758 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.001794/0.001794, allocations: 87.97 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.86e-05/9.891e-05, allocations: 2.344 kB / 0.5601 GB, free: 87.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4143, allocations: 82.31 MB / 0.6405 GB, free: 7.68 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.754/10.17, allocations: 1.694 GB / 2.334 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004573/10.17, allocations: 95.94 kB / 2.334 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2243/10.39, allocations: 59.32 MB / 2.392 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.615e-06/10.39, allocations: 0 / 2.392 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001883/10.39, allocations: 31.88 kB / 2.392 GB, free: 180.9 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004205/10.4, allocations: 1.066 MB / 2.393 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001063/10.4, allocations: 15.97 kB / 2.393 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005006/10.4, allocations: 127 kB / 2.393 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/10.4, allocations: 190.5 kB / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/10.4, allocations: 0.6114 MB / 2.394 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/10.4, allocations: 58 kB / 2.394 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/10.4, allocations: 76 kB / 2.394 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/10.41, allocations: 0.8328 MB / 2.395 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/10.41, allocations: 4 kB / 2.395 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/10.41, allocations: 39.98 kB / 2.395 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/10.41, allocations: 23.95 kB / 2.395 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/10.41, allocations: 1.026 MB / 2.396 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008097/10.42, allocations: 2.411 MB / 2.398 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/10.42, allocations: 0.7657 MB / 2.399 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007361/10.42, allocations: 264.4 kB / 2.399 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/10.42, allocations: 32.81 kB / 2.4 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/10.42, allocations: 409.3 kB / 2.4 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 1.018e-05/10.42, allocations: 4 kB / 2.4 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002537/10.42, allocations: 0.6953 MB / 2.401 GB, free: 172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/10.43, allocations: 240.1 kB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/10.43, allocations: 0.5777 MB / 2.401 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002538/10.43, allocations: 41.7 kB / 2.401 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008242/10.43, allocations: 380.2 kB / 2.402 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000579/10.43, allocations: 236.5 kB / 2.402 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/10.43, allocations: 12 kB / 2.402 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003811/10.43, allocations: 378.8 kB / 2.402 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/10.43, allocations: 197.5 kB / 2.403 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/10.43, allocations: 310 kB / 2.403 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/10.43, allocations: 246 kB / 2.403 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/10.43, allocations: 4 kB / 2.403 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002671/10.44, allocations: 0.6915 MB / 2.404 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/10.44, allocations: 4 kB / 2.404 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/10.44, allocations: 3.938 kB / 2.404 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/10.44, allocations: 88.86 kB / 2.404 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/10.44, allocations: 139.8 kB / 2.404 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/10.44, allocations: 1.519 MB / 2.405 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/10.44, allocations: 83.41 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/10.44, allocations: 23.98 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0002461/10.44, allocations: 153.6 kB / 2.406 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/10.44, allocations: 75.06 kB / 2.406 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/10.44, allocations: 0.9732 MB / 2.407 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/10.44, allocations: 12 kB / 2.407 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/10.44, allocations: 0 / 2.407 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/10.44, allocations: 7.938 kB / 2.407 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004986/10.45, allocations: 1.878 MB / 2.409 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/10.45, allocations: 0 / 2.409 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/10.45, allocations: 147.8 kB / 2.409 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006971/10.45, allocations: 84.78 kB / 2.409 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/10.45, allocations: 23.98 kB / 2.409 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/10.45, allocations: 1.544 MB / 2.41 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/10.45, allocations: 4.031 kB / 2.41 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/10.46, allocations: 0.8727 MB / 2.411 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000839/10.46, allocations: 283.7 kB / 2.411 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/10.46, allocations: 19.98 kB / 2.412 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/10.46, allocations: 67.95 kB / 2.412 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/10.46, allocations: 64.62 kB / 2.412 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/10.46, allocations: 35.94 kB / 2.412 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008527/10.46, allocations: 479.1 kB / 2.412 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/10.46, allocations: 0 / 2.412 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002075/10.46, allocations: 355.2 kB / 2.412 GB, free: 159.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) * 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.007477/10.47, allocations: 2.345 MB / 2.415 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002462/10.47, allocations: 0.6862 MB / 2.415 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/10.47, allocations: 192 / 2.415 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/10.47, allocations: 475 kB / 2.416 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/10.48, allocations: 227.9 kB / 2.416 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/10.48, allocations: 1.553 MB / 2.418 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/10.48, allocations: 1.023 MB / 2.419 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00186/10.48, allocations: 262.2 kB / 2.419 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/10.49, allocations: 347.3 kB / 2.419 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.613e-06/10.49, allocations: 0 / 2.419 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/10.59, allocations: 30.88 MB / 2.449 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004331/10.59, allocations: 246 kB / 2.45 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.411/16, allocations: 0 / 2.45 GB, free: 121.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)