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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000873/0.000873, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9422/0.9422, allocations: 230.6 MB / 256 MB, free: 9.84 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8193/0.8193, allocations: 203.8 MB / 0.5042 GB, free: 10.79 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 65.73 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5204, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001574/0.522, allocations: 1.278 MB / 0.8191 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.5231, allocations: 1.102 MB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.5231, allocations: 3.938 kB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.5231, allocations: 0 / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.5235, allocations: 117.2 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.307e-06/0.5235, allocations: 0 / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.5235, allocations: 2.594 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.5236, allocations: 4.609 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.5236, allocations: 6.531 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.5237, allocations: 2.688 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.5237, allocations: 0 / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.5239, allocations: 128.8 kB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-06/0.5239, allocations: 0 / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.5239, allocations: 1.844 kB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.524, allocations: 107.8 kB / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5241, allocations: 0 / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5241, allocations: 0 / 0.8205 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5241, allocations: 0 / 0.8205 GB, free: 15.47 MB / 0.6198 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.0002588/0.5243, allocations: 276.7 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.5244, allocations: 11.38 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.5244, allocations: 106.6 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.5244, allocations: 76.22 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5245, allocations: 180.6 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.5246, allocations: 154 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.5246, allocations: 154.9 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.823e-05/0.5247, allocations: 105.6 kB / 0.8216 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.5247, allocations: 83.22 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.5247, allocations: 155.1 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.5248, allocations: 150.6 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.5248, allocations: 151.1 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.525, allocations: 421.6 kB / 0.8225 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.684e-05/0.525, allocations: 165.7 kB / 0.8226 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.5251, allocations: 90.28 kB / 0.8227 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.5251, allocations: 79.92 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5251, allocations: 109.8 kB / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.5251, allocations: 0 / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.469e-05/0.5252, allocations: 28.98 kB / 0.8229 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.5252, allocations: 127.3 kB / 0.8231 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.5253, allocations: 97.27 kB / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.5253, allocations: 29.45 kB / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.5253, allocations: 80.27 kB / 0.8233 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.5253, allocations: 4 kB / 0.8233 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.5253, allocations: 14.31 kB / 0.8233 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.5254, allocations: 311.5 kB / 0.8236 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-06/0.5254, allocations: 0 / 0.8236 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-06/0.5254, allocations: 7.25 kB / 0.8236 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.963e-05/0.5254, allocations: 75.94 kB / 0.8236 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/0.5255, allocations: 75.28 kB / 0.8237 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.193e-05/0.5255, allocations: 31.64 kB / 0.8237 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.5255, allocations: 90.62 kB / 0.8238 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.5255, allocations: 75.28 kB / 0.8239 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.317e-05/0.5256, allocations: 155.2 kB / 0.8241 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.825e-05/0.5256, allocations: 82.81 kB / 0.8241 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/0.5256, allocations: 155.1 kB / 0.8243 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.5257, allocations: 75.84 kB / 0.8244 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.5257, allocations: 79.81 kB / 0.8244 GB, free: 11.35 MB / 0.6198 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 7.811e-05/0.5258, allocations: 270.5 kB / 0.8247 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.5258, allocations: 108.8 kB / 0.8248 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.5259, allocations: 116.7 kB / 0.8249 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/0.5259, allocations: 181.6 kB / 0.8251 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003021/0.5262, allocations: 183.9 kB / 0.8253 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-05/0.5262, allocations: 181 kB / 0.8254 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.5264, allocations: 380.4 kB / 0.8258 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.5264, allocations: 105.7 kB / 0.8259 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.5264, allocations: 107.4 kB / 0.826 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.622e-05/0.5264, allocations: 179.2 kB / 0.8262 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.5265, allocations: 184.8 kB / 0.8263 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.852e-05/0.5265, allocations: 184.5 kB / 0.8265 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.805e-05/0.5266, allocations: 177.3 kB / 0.8267 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.726e-05/0.5267, allocations: 298.9 kB / 0.827 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.5267, allocations: 120.4 kB / 0.8271 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.5267, allocations: 177.2 kB / 0.8273 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.5268, allocations: 103.3 kB / 0.8274 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.5268, allocations: 182.4 kB / 0.8275 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.5268, allocations: 102.9 kB / 0.8276 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.5269, allocations: 85.02 kB / 0.8277 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5269, allocations: 0 / 0.8277 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002026/0.5271, allocations: 35.72 kB / 0.8277 GB, free: 7.832 MB / 0.6198 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.0005355/0.5276, allocations: 0.9516 MB / 0.8287 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.172e-05/0.5276, allocations: 8.609 kB / 0.8287 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5276, allocations: 0 / 0.8287 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.5276, allocations: 0 / 0.8287 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.5279, allocations: 459.9 kB / 0.8291 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.5287, allocations: 1.564 MB / 0.8306 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.5288, allocations: 0.6739 MB / 0.8313 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.647e-06/0.5288, allocations: 0 / 0.8313 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.5289, allocations: 8.234 kB / 0.8313 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5289, allocations: 0 / 0.8313 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.549, allocations: 1.982 MB / 0.8332 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/7.126, allocations: 5.656 kB / 0.8332 GB, free: 3.695 MB / 0.6198 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.095867841038853] Failed to read output from testmodel.py, exit status != 0: 7.244037979980931 7.261732583 6.734904371 Calling exit ...