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.00578/0.00578, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8318/0.8318, allocations: 135.2 MB / 151 MB, free: 13.76 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.393/1.393, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009205/0.0009206, allocations: 94.5 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003263, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3955, allocations: 82.3 MB / 0.6495 GB, free: 36.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.139/4.534, allocations: 1.694 GB / 2.343 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/4.535, allocations: 104.2 kB / 2.343 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1348/4.67, allocations: 59.63 MB / 2.402 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.305e-06/4.67, allocations: 0 / 2.402 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001034/4.67, allocations: 23.53 kB / 2.402 GB, free: 179.6 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.002889/4.673, allocations: 1.177 MB / 2.403 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/4.673, allocations: 11.72 kB / 2.403 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002969/4.673, allocations: 131.1 kB / 2.403 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/4.674, allocations: 192.2 kB / 2.403 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/4.675, allocations: 0.6108 MB / 2.404 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/4.675, allocations: 62.88 kB / 2.404 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/4.675, allocations: 75.38 kB / 2.404 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/4.677, allocations: 0.8684 MB / 2.405 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/4.677, allocations: 0 / 2.405 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.043e-05/4.677, allocations: 36.88 kB / 2.405 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/4.677, allocations: 23.61 kB / 2.405 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/4.679, allocations: 1.075 MB / 2.406 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/4.682, allocations: 2.412 MB / 2.408 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/4.683, allocations: 0.811 MB / 2.409 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/4.683, allocations: 37.06 kB / 2.409 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/4.684, allocations: 431.3 kB / 2.409 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/4.684, allocations: 0 / 2.409 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002711/4.687, allocations: 1.105 MB / 2.41 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/4.687, allocations: 243.9 kB / 2.411 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/4.688, allocations: 0.5856 MB / 2.411 GB, free: 175 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.015e-05/4.688, allocations: 42.81 kB / 2.411 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/4.688, allocations: 375.4 kB / 2.412 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/4.688, allocations: 235.3 kB / 2.412 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/4.688, allocations: 13.16 kB / 2.412 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001108/4.688, allocations: 376.2 kB / 2.412 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/4.689, allocations: 223.8 kB / 2.412 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/4.689, allocations: 330.8 kB / 2.413 GB, free: 174 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/4.69, allocations: 270.3 kB / 2.413 GB, free: 174 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/4.69, allocations: 0 / 2.413 GB, free: 174 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001605/4.691, allocations: 0.73 MB / 2.414 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/4.691, allocations: 7.875 kB / 2.414 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/4.691, allocations: 0 / 2.414 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/4.692, allocations: 87.08 kB / 2.414 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/4.693, allocations: 140 kB / 2.414 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/4.694, allocations: 1.533 MB / 2.415 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007323/4.695, allocations: 77.33 kB / 2.415 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/4.695, allocations: 23.48 kB / 2.415 GB, free: 172.3 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 () * Number of clocked 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.0005645/4.696, allocations: 272 kB / 2.416 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/4.696, allocations: 74.19 kB / 2.416 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/4.698, allocations: 1.017 MB / 2.417 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/4.698, allocations: 7.812 kB / 2.417 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/4.698, allocations: 3.984 kB / 2.417 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/4.698, allocations: 3.984 kB / 2.417 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/4.702, allocations: 1.927 MB / 2.419 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/4.702, allocations: 0 / 2.419 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/4.702, allocations: 144.8 kB / 2.419 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005404/4.703, allocations: 86.95 kB / 2.419 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/4.703, allocations: 26.98 kB / 2.419 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/4.705, allocations: 1.557 MB / 2.42 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/4.705, allocations: 3.984 kB / 2.42 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/4.707, allocations: 0.9282 MB / 2.421 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/4.707, allocations: 282.2 kB / 2.422 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/4.707, allocations: 17.53 kB / 2.422 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/4.708, allocations: 63.67 kB / 2.422 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/4.708, allocations: 64.47 kB / 2.422 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/4.708, allocations: 28.23 kB / 2.422 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007998/4.709, allocations: 493.4 kB / 2.422 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/4.709, allocations: 0 / 2.422 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001389/4.71, allocations: 354.9 kB / 2.423 GB, free: 168.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) * Number of clocked states: 0 () * 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.004255/4.715, allocations: 2.442 MB / 2.425 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001515/4.716, allocations: 0.7272 MB / 2.426 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/4.716, allocations: 0 / 2.426 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/4.717, allocations: 0.4927 MB / 2.426 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/4.719, allocations: 241 kB / 2.426 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/4.734, allocations: 5.16 MB / 2.431 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/4.735, allocations: 1.026 MB / 2.432 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001618/4.737, allocations: 247.1 kB / 2.433 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008415/4.737, allocations: 354.9 kB / 2.433 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/4.738, allocations: 0 / 2.433 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07549/4.813, allocations: 29.19 MB / 2.462 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/4.813, allocations: 276.2 kB / 2.462 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/7.873, allocations: 4 kB / 2.462 GB, free: 142.1 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)