Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_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.001845/0.001845, 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 0.8486/0.8486, 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 1.7/1.7, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009482/0.0009483, allocations: 93.58 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.064e-05, allocations: 2.188 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1914, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/4.906, allocations: 1.694 GB / 2.334 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/4.906, allocations: 95.94 kB / 2.334 GB, free: 239 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1285/5.035, allocations: 59.32 MB / 2.392 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/5.035, allocations: 0 / 2.392 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001152/5.035, allocations: 31.88 kB / 2.392 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002427/5.037, allocations: 1.074 MB / 2.393 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/5.037, allocations: 12.03 kB / 2.393 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/5.038, allocations: 127 kB / 2.393 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/5.039, allocations: 182.5 kB / 2.394 GB, free: 178 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/5.04, allocations: 0.6153 MB / 2.394 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/5.04, allocations: 58 kB / 2.394 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/5.04, allocations: 80 kB / 2.394 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/5.041, allocations: 0.8367 MB / 2.395 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/5.042, allocations: 3.938 kB / 2.395 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/5.042, allocations: 36 kB / 2.395 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/5.042, allocations: 23.95 kB / 2.395 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/5.043, allocations: 1.026 MB / 2.396 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/5.047, allocations: 2.418 MB / 2.398 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/5.048, allocations: 0.7594 MB / 2.399 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/5.048, allocations: 260.4 kB / 2.399 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-05/5.048, allocations: 36.8 kB / 2.4 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/5.049, allocations: 413.3 kB / 2.4 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.966e-06/5.049, allocations: 0 / 2.4 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.00151/5.05, allocations: 0.6914 MB / 2.401 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/5.05, allocations: 240.1 kB / 2.401 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/5.051, allocations: 0.5777 MB / 2.401 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/5.051, allocations: 37.7 kB / 2.401 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/5.051, allocations: 376.3 kB / 2.402 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/5.052, allocations: 244.4 kB / 2.402 GB, free: 169 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/5.052, allocations: 12 kB / 2.402 GB, free: 169 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001152/5.052, allocations: 382.8 kB / 2.402 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/5.052, allocations: 197.5 kB / 2.403 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/5.052, allocations: 306 kB / 2.403 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/5.053, allocations: 254 kB / 2.403 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/5.053, allocations: 4 kB / 2.403 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001446/5.054, allocations: 0.6914 MB / 2.404 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/5.054, allocations: 5.094 kB / 2.404 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/5.054, allocations: 0 / 2.404 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/5.055, allocations: 84.88 kB / 2.404 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/5.056, allocations: 139.8 kB / 2.404 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/5.057, allocations: 1.517 MB / 2.405 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/5.058, allocations: 87.33 kB / 2.406 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/5.058, allocations: 23.98 kB / 2.406 GB, free: 165.2 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.0001757/5.058, allocations: 148.9 kB / 2.406 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/5.059, allocations: 75.06 kB / 2.406 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/5.06, allocations: 0.9731 MB / 2.407 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/5.06, allocations: 15.94 kB / 2.407 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/5.061, allocations: 0 / 2.407 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/5.061, allocations: 7.938 kB / 2.407 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/5.063, allocations: 1.878 MB / 2.409 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.063, allocations: 0 / 2.409 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/5.064, allocations: 143.8 kB / 2.409 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/5.064, allocations: 88.77 kB / 2.409 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/5.064, allocations: 23.98 kB / 2.409 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/5.066, allocations: 1.54 MB / 2.41 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/5.066, allocations: 0 / 2.41 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/5.068, allocations: 0.8767 MB / 2.411 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/5.068, allocations: 287.7 kB / 2.411 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/5.068, allocations: 16.14 kB / 2.412 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/5.069, allocations: 75.95 kB / 2.412 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/5.069, allocations: 60.67 kB / 2.412 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/5.069, allocations: 35.94 kB / 2.412 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005962/5.07, allocations: 475.1 kB / 2.412 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.07, allocations: 0 / 2.412 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001335/5.071, allocations: 363.2 kB / 2.412 GB, free: 157.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) * 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.003994/5.075, allocations: 2.333 MB / 2.415 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001426/5.077, allocations: 0.6904 MB / 2.415 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/5.077, allocations: 0 / 2.415 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007369/5.077, allocations: 471 kB / 2.416 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/5.079, allocations: 245.9 kB / 2.416 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/5.083, allocations: 1.552 MB / 2.418 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/5.084, allocations: 1.023 MB / 2.419 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00101/5.085, allocations: 262.2 kB / 2.419 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/5.086, allocations: 347.3 kB / 2.419 GB, free: 151 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/5.086, allocations: 0 / 2.419 GB, free: 151 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07552/5.161, allocations: 30.88 MB / 2.449 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/5.161, allocations: 248.4 kB / 2.45 GB, free: 120 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/8.54, allocations: 0 / 2.45 GB, free: 120 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)