Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_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.01036/0.01036, 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.7586/0.7586, allocations: 135.2 MB / 151 MB, free: 13.84 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.795/1.795, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0008399/0.0008403, allocations: 95.84 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.358, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5036, allocations: 112.2 MB / 0.7591 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.504, allocations: 83.95 kB / 0.7592 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007009/0.511, allocations: 2.707 MB / 0.7618 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.511, allocations: 0 / 0.7618 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5111, allocations: 0 / 0.7618 GB, free: 1.016 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.000383/0.5115, allocations: 353.6 kB / 0.7621 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.5115, allocations: 16.03 kB / 0.7622 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.079e-05/0.5116, allocations: 109.8 kB / 0.7623 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.5117, allocations: 83.27 kB / 0.7623 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.5119, allocations: 238.3 kB / 0.7626 GB, free: 140 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.615e-05/0.512, allocations: 154.6 kB / 0.7627 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.512, allocations: 154.6 kB / 0.7629 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.361e-05/0.5121, allocations: 108.9 kB / 0.763 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.5121, allocations: 75.28 kB / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.5122, allocations: 150.6 kB / 0.7632 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.5123, allocations: 150.6 kB / 0.7633 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.5123, allocations: 154.5 kB / 0.7635 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.5126, allocations: 457.9 kB / 0.7639 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.262e-05/0.5127, allocations: 165.1 kB / 0.7641 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.5128, allocations: 79.27 kB / 0.7642 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.5128, allocations: 109.8 kB / 0.7643 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 2.053e-06/0.5128, allocations: 0 / 0.7643 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.331e-05/0.5129, allocations: 41.55 kB / 0.7643 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.513, allocations: 127.7 kB / 0.7644 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.5131, allocations: 88.98 kB / 0.7645 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5131, allocations: 25.7 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.5131, allocations: 84.14 kB / 0.7646 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.5131, allocations: 0 / 0.7646 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.5132, allocations: 0 / 0.7646 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5133, allocations: 319 kB / 0.7649 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/0.5133, allocations: 0 / 0.7649 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-06/0.5133, allocations: 0 / 0.7649 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.801e-05/0.5134, allocations: 75.28 kB / 0.765 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/0.5134, allocations: 75.28 kB / 0.7651 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.842e-05/0.5135, allocations: 37.59 kB / 0.7651 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.5135, allocations: 80.38 kB / 0.7652 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.5136, allocations: 75.28 kB / 0.7652 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.975e-05/0.5137, allocations: 170.5 kB / 0.7654 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.099e-05/0.5137, allocations: 75.28 kB / 0.7655 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-05/0.5138, allocations: 154.5 kB / 0.7656 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.5139, allocations: 79.22 kB / 0.7657 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.5139, allocations: 83.28 kB / 0.7658 GB, free: 12.72 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.0001542/0.5141, allocations: 260.4 kB / 0.766 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.5141, allocations: 112.9 kB / 0.7661 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.5142, allocations: 108.1 kB / 0.7662 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.008e-05/0.5143, allocations: 176.3 kB / 0.7664 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.298e-05/0.5144, allocations: 180.2 kB / 0.7666 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-05/0.5145, allocations: 182 kB / 0.7667 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.5147, allocations: 413.1 kB / 0.7671 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-05/0.5148, allocations: 101 kB / 0.7672 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.5148, allocations: 101 kB / 0.7673 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.896e-05/0.5149, allocations: 188.2 kB / 0.7675 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.876e-05/0.515, allocations: 184.2 kB / 0.7677 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.585e-05/0.5151, allocations: 180.2 kB / 0.7679 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.988e-05/0.5152, allocations: 188.2 kB / 0.768 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.5154, allocations: 303.8 kB / 0.7683 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5155, allocations: 182.1 kB / 0.7685 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.5156, allocations: 188.2 kB / 0.7687 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.5157, allocations: 105 kB / 0.7688 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.5158, allocations: 180.7 kB / 0.769 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.5158, allocations: 109 kB / 0.7691 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.22e-05/0.5159, allocations: 79.28 kB / 0.7691 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5159, allocations: 0 / 0.7691 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004169/0.5163, allocations: 51.92 kB / 0.7692 GB, free: 9 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.0009736/0.5173, allocations: 0.9694 MB / 0.7701 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.115e-05/0.5174, allocations: 0 / 0.7701 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5174, allocations: 7.938 kB / 0.7701 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.5174, allocations: 0 / 0.7701 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.5178, allocations: 0.5224 MB / 0.7706 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5189, allocations: 0.5307 MB / 0.7712 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5195, allocations: 0.6811 MB / 0.7718 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.5195, allocations: 0 / 0.7718 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.5195, allocations: 7.438 kB / 0.7718 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of SimCode: time 5.099e-06/0.5195, allocations: 0 / 0.7718 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.5367, allocations: 1.644 MB / 0.7734 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.537, allocations: 239.1 kB / 0.7737 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.985, allocations: 0 / 0.7737 GB, free: 4.512 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)