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.00147/0.00147, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8433/0.8433, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009514/0.0009516, allocations: 88.34 kB / 478.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.578e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5634, allocations: 82.29 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.348/4.912, allocations: 1.693 GB / 2.327 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/4.912, allocations: 92.69 kB / 2.327 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1214/5.034, allocations: 58.49 MB / 2.384 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/5.034, allocations: 0 / 2.384 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.112e-05/5.034, allocations: 31.94 kB / 2.384 GB, free: 22.12 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.001692/5.035, allocations: 1.078 MB / 2.385 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/5.036, allocations: 8.031 kB / 2.385 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/5.036, allocations: 186.5 kB / 2.385 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/5.037, allocations: 0.6075 MB / 2.386 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/5.037, allocations: 27.98 kB / 2.386 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/5.037, allocations: 44 kB / 2.386 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001121/5.038, allocations: 0.9835 MB / 2.387 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/5.039, allocations: 0.7234 MB / 2.388 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/5.04, allocations: 0 / 2.388 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/5.04, allocations: 3.984 kB / 2.388 GB, free: 18.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/5.04, allocations: 23.95 kB / 2.388 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/5.043, allocations: 2.259 MB / 2.39 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/5.043, allocations: 0.7183 MB / 2.391 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/5.044, allocations: 239.2 kB / 2.391 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/5.044, allocations: 36.81 kB / 2.391 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/5.044, allocations: 385 kB / 2.391 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.114e-06/5.044, allocations: 0 / 2.391 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.00135/5.046, allocations: 0.6524 MB / 2.392 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/5.046, allocations: 240.1 kB / 2.392 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/5.046, allocations: 0.4944 MB / 2.393 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/5.046, allocations: 25.7 kB / 2.393 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/5.046, allocations: 380.1 kB / 2.393 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/5.047, allocations: 232.5 kB / 2.393 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/5.047, allocations: 3.938 kB / 2.393 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/5.047, allocations: 378.8 kB / 2.394 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/5.047, allocations: 181.5 kB / 2.394 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/5.047, allocations: 296.4 kB / 2.394 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/5.048, allocations: 232.4 kB / 2.394 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/5.048, allocations: 4 kB / 2.394 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001241/5.049, allocations: 0.6447 MB / 2.395 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/5.049, allocations: 4 kB / 2.395 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/5.049, allocations: 3.938 kB / 2.395 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/5.05, allocations: 88.86 kB / 2.395 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/5.05, allocations: 139.8 kB / 2.395 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/5.052, allocations: 1.457 MB / 2.397 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/5.052, allocations: 59.5 kB / 2.397 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/5.052, allocations: 31.97 kB / 2.397 GB, free: 8.812 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.0001668/5.052, allocations: 122.6 kB / 2.397 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001241/5.054, allocations: 0.6446 MB / 2.397 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/5.054, allocations: 75.06 kB / 2.397 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/5.056, allocations: 0.9065 MB / 2.398 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/5.056, allocations: 15.95 kB / 2.398 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/5.056, allocations: 3.984 kB / 2.398 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/5.056, allocations: 3.984 kB / 2.398 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/5.058, allocations: 1.699 MB / 2.4 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/5.058, allocations: 0 / 2.4 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/5.058, allocations: 151.8 kB / 2.4 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/5.059, allocations: 84.77 kB / 2.4 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/5.059, allocations: 15.98 kB / 2.4 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/5.06, allocations: 1.465 MB / 2.402 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/5.06, allocations: 0 / 2.402 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/5.062, allocations: 0.8338 MB / 2.402 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/5.062, allocations: 283.7 kB / 2.403 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/5.062, allocations: 8 kB / 2.403 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/5.062, allocations: 44.02 kB / 2.403 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/5.063, allocations: 72.64 kB / 2.403 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/5.063, allocations: 31.98 kB / 2.403 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003827/5.063, allocations: 398.9 kB / 2.403 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.063, allocations: 0 / 2.403 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009836/5.064, allocations: 331.1 kB / 2.404 GB, free: 1.41 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.4/5.464, allocations: 2.341 MB / 2.406 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001739/5.466, allocations: 0.6395 MB / 2.407 GB, free: 229 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/5.466, allocations: 0.7812 kB / 2.407 GB, free: 229 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/5.467, allocations: 444.2 kB / 2.407 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/5.468, allocations: 219.5 kB / 2.407 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/5.473, allocations: 1.48 MB / 2.409 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/5.474, allocations: 1.02 MB / 2.41 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009287/5.475, allocations: 254.2 kB / 2.41 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/5.475, allocations: 352.7 kB / 2.41 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/5.475, allocations: 0 / 2.41 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/5.527, allocations: 23.03 MB / 2.433 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/5.527, allocations: 197.8 kB / 2.433 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/8.332, allocations: 4 kB / 2.433 GB, free: 226.2 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)