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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005225/0.005225, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 198.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9204/0.9204, allocations: 135.6 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 71.89 kB / 0.5858 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3289, allocations: 81.02 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001763/0.3307, allocations: 1.231 MB / 0.6661 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3318, allocations: 1.02 MB / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.3318, allocations: 0 / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.3318, allocations: 0 / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.3322, allocations: 112.1 kB / 0.6672 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.945e-06/0.3322, allocations: 0 / 0.6672 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.327e-05/0.3322, allocations: 1.562 kB / 0.6672 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3323, allocations: 5.328 kB / 0.6672 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.24e-05/0.3323, allocations: 5.406 kB / 0.6672 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.3324, allocations: 2.688 kB / 0.6672 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.3324, allocations: 0 / 0.6672 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.3326, allocations: 121.8 kB / 0.6673 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.498e-06/0.3326, allocations: 1.219 kB / 0.6673 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.127e-05/0.3326, allocations: 7.875 kB / 0.6673 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3328, allocations: 112.1 kB / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3328, allocations: 0 / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3328, allocations: 0 / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3328, allocations: 0 / 0.6674 GB, free: 4.867 MB / 0.4981 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.0002092/0.333, allocations: 351 kB / 0.6678 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.333, allocations: 12.84 kB / 0.6678 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.3331, allocations: 106 kB / 0.6679 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3331, allocations: 81.41 kB / 0.668 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.3332, allocations: 240.7 kB / 0.6682 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3332, allocations: 150.9 kB / 0.6683 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3333, allocations: 156.4 kB / 0.6685 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.223e-05/0.3333, allocations: 108.9 kB / 0.6686 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3333, allocations: 75.28 kB / 0.6687 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3333, allocations: 151.7 kB / 0.6688 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.3333, allocations: 150.6 kB / 0.6689 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.3334, allocations: 151.6 kB / 0.6691 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3335, allocations: 451.3 kB / 0.6695 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/0.3336, allocations: 170.5 kB / 0.6697 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.3336, allocations: 80.14 kB / 0.6698 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3336, allocations: 83.22 kB / 0.6698 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3336, allocations: 111.1 kB / 0.6699 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3336, allocations: 0 / 0.6699 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.439e-05/0.3337, allocations: 30.88 kB / 0.67 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3337, allocations: 132 kB / 0.6701 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.3338, allocations: 97 kB / 0.6702 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.3338, allocations: 25.7 kB / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.071e-05/0.3338, allocations: 84.08 kB / 0.6703 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.3338, allocations: 5.281 kB / 0.6703 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.3338, allocations: 15.16 kB / 0.6703 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.3339, allocations: 310.8 kB / 0.6706 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.3339, allocations: 0 / 0.6706 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-06/0.3339, allocations: 1.188 kB / 0.6706 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-06/0.3339, allocations: 75.28 kB / 0.6707 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3339, allocations: 75.28 kB / 0.6708 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.096e-05/0.334, allocations: 32.2 kB / 0.6708 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.334, allocations: 84.53 kB / 0.6709 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.334, allocations: 84.8 kB / 0.671 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.334, allocations: 155.7 kB / 0.6711 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-06/0.334, allocations: 79.22 kB / 0.6712 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3341, allocations: 155.9 kB / 0.6713 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.3341, allocations: 76.69 kB / 0.6714 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3341, allocations: 84.19 kB / 0.6715 GB, free: 0.5273 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.3342, allocations: 258.3 kB / 0.6717 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.3342, allocations: 110.2 kB / 0.6718 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.3342, allocations: 113.2 kB / 0.6719 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-05/0.3343, allocations: 185.9 kB / 0.6721 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-05/0.3344, allocations: 180.3 kB / 0.6723 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.182e-05/0.3345, allocations: 185.3 kB / 0.6725 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.3347, allocations: 399.8 kB / 0.6728 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/0.3348, allocations: 112.9 kB / 0.673 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.3349, allocations: 106.4 kB / 0.6731 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.3349, allocations: 181.7 kB / 0.6732 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/0.335, allocations: 184.2 kB / 0.6734 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.358e-05/0.3351, allocations: 177.5 kB / 0.6736 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.502e-05/0.3352, allocations: 185.8 kB / 0.6738 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.3353, allocations: 307.2 kB / 0.674 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.3354, allocations: 187.6 kB / 0.6742 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.3355, allocations: 176.3 kB / 0.6744 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.3356, allocations: 106.3 kB / 0.6745 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.3357, allocations: 181.4 kB / 0.6747 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.3357, allocations: 110 kB / 0.6748 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.3358, allocations: 77.03 kB / 0.6748 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 8.031 kB / 0.6749 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002915/0.3361, allocations: 44.3 kB / 0.6749 GB, free: 12.85 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008117/0.3369, allocations: 0.9385 MB / 0.6758 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.247e-05/0.337, allocations: 4 kB / 0.6758 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.337, allocations: 1.625 kB / 0.6758 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.337, allocations: 3.938 kB / 0.6758 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3373, allocations: 453 kB / 0.6763 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3385, allocations: 1.557 MB / 0.6778 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3388, allocations: 0.6793 MB / 0.6784 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.983e-06/0.3388, allocations: 3.938 kB / 0.6784 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.3388, allocations: 9.094 kB / 0.6784 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.3389, allocations: 0 / 0.6784 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/0.544, allocations: 1.883 MB / 0.6803 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.179, allocations: 8.031 kB / 0.6803 GB, free: 8.191 MB / 0.5137 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/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)