Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.005135/0.005135, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7379/0.7379, allocations: 135.2 MB / 151 MB, free: 13.8 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.435/1.435, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009004/0.0009, allocations: 93.23 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003918, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4408, allocations: 82.3 MB / 0.6495 GB, free: 36.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5858, allocations: 112.2 MB / 0.7591 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5862, allocations: 83.95 kB / 0.7592 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006553/0.5927, allocations: 2.703 MB / 0.7618 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5928, allocations: 0 / 0.7618 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.5928, allocations: 0 / 0.7618 GB, free: 0.8945 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003274/0.5931, allocations: 351.3 kB / 0.7622 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5932, allocations: 8.031 kB / 0.7622 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.5932, allocations: 113.8 kB / 0.7623 GB, free: 384 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.5933, allocations: 75.28 kB / 0.7623 GB, free: 308 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.5935, allocations: 242.3 kB / 0.7626 GB, free: 24 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.5936, allocations: 150.6 kB / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.5936, allocations: 150.6 kB / 0.7629 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.5937, allocations: 105 kB / 0.763 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.5937, allocations: 79.22 kB / 0.763 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.5938, allocations: 158.5 kB / 0.7632 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.5938, allocations: 158.6 kB / 0.7633 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.422e-05/0.5939, allocations: 154.6 kB / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.5942, allocations: 441.9 kB / 0.7639 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.5943, allocations: 169.1 kB / 0.7641 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.5943, allocations: 83.28 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.5944, allocations: 109.8 kB / 0.7643 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.5944, allocations: 0 / 0.7643 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.775e-05/0.5945, allocations: 33.59 kB / 0.7643 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5945, allocations: 127.7 kB / 0.7644 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.5946, allocations: 89 kB / 0.7645 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.5946, allocations: 33.77 kB / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.5946, allocations: 84.12 kB / 0.7646 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.5947, allocations: 0 / 0.7646 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.5947, allocations: 0 / 0.7646 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.5948, allocations: 318.8 kB / 0.7649 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-06/0.5948, allocations: 0 / 0.7649 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-06/0.5948, allocations: 0 / 0.7649 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.342e-05/0.5948, allocations: 79.22 kB / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.5948, allocations: 75.28 kB / 0.7651 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.947e-05/0.5949, allocations: 41.64 kB / 0.7651 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.5949, allocations: 80.38 kB / 0.7652 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.595, allocations: 75.28 kB / 0.7652 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.023e-05/0.595, allocations: 158.5 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.242e-05/0.5951, allocations: 79.28 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-05/0.5951, allocations: 154.5 kB / 0.7656 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.5952, allocations: 83.28 kB / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.5952, allocations: 75.28 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.5953, allocations: 265.1 kB / 0.766 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.5954, allocations: 108.9 kB / 0.7661 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.5954, allocations: 104.1 kB / 0.7662 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/0.5955, allocations: 184.2 kB / 0.7664 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-05/0.5956, allocations: 184.3 kB / 0.7666 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.904e-05/0.5956, allocations: 185.9 kB / 0.7668 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.5958, allocations: 397.2 kB / 0.7671 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-05/0.5959, allocations: 108.9 kB / 0.7672 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.5959, allocations: 108.9 kB / 0.7673 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.53e-05/0.596, allocations: 188.2 kB / 0.7675 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.5961, allocations: 176.3 kB / 0.7677 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.745e-05/0.5961, allocations: 188.2 kB / 0.7679 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.127e-05/0.5962, allocations: 180.3 kB / 0.768 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.5963, allocations: 311.8 kB / 0.7683 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.5964, allocations: 182 kB / 0.7685 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.5965, allocations: 180.2 kB / 0.7687 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.5965, allocations: 109 kB / 0.7688 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.5966, allocations: 184.7 kB / 0.769 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.5966, allocations: 101 kB / 0.7691 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.5967, allocations: 83.28 kB / 0.7691 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5967, allocations: 0 / 0.7691 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003392/0.597, allocations: 47.92 kB / 0.7692 GB, free: 8.887 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008474/0.5979, allocations: 0.9791 MB / 0.7701 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.423e-05/0.5979, allocations: 0 / 0.7701 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5979, allocations: 4 kB / 0.7701 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.598, allocations: 0 / 0.7701 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.5983, allocations: 0.5223 MB / 0.7707 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.599, allocations: 0.5347 MB / 0.7712 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.5993, allocations: 0.6732 MB / 0.7718 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.046e-05/0.5993, allocations: 0 / 0.7718 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.5993, allocations: 7.438 kB / 0.7718 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5993, allocations: 0 / 0.7718 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.6144, allocations: 1.633 MB / 0.7734 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.6147, allocations: 232.3 kB / 0.7737 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.771, allocations: 3.938 kB / 0.7737 GB, free: 4.406 MB / 0.5417 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)