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.0007922/0.0007922, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000837/0.000837, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8813/0.8813, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7002/0.7002, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.797e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001779/0.001796, allocations: 1.275 MB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002854, allocations: 1.091 MB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.00288, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.002899, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.003363, allocations: 110.5 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.003366, allocations: 4 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.259e-05/0.003409, allocations: 0 / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.003451, allocations: 3.984 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.00348, allocations: 7.938 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.003528, allocations: 4 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.003536, allocations: 0 / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.003723, allocations: 107.8 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.00373, allocations: 0 / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.059e-05/0.003741, allocations: 3.938 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.003912, allocations: 123.6 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003914, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003916, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.003921, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 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.000266/0.004187, allocations: 276.4 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.004226, allocations: 9.469 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.004267, allocations: 114 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.004307, allocations: 76.22 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.004415, allocations: 181.1 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.004452, allocations: 154.9 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.004485, allocations: 150.9 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.614e-05/0.004542, allocations: 109.5 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.004561, allocations: 75.47 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.004597, allocations: 154.5 kB / 0.622 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.00463, allocations: 158.6 kB / 0.6221 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.004668, allocations: 154.5 kB / 0.6223 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.004848, allocations: 417 kB / 0.6227 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.926e-05/0.004907, allocations: 177.1 kB / 0.6228 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.00493, allocations: 80.14 kB / 0.6229 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.004948, allocations: 75.28 kB / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.004977, allocations: 109.8 kB / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.004978, allocations: 0 / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.522e-05/0.005033, allocations: 29.64 kB / 0.6231 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.005072, allocations: 126.7 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.201e-05/0.005144, allocations: 97.86 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.005151, allocations: 25.7 kB / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.005172, allocations: 92.25 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.005174, allocations: 0 / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.005189, allocations: 9.719 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.00526, allocations: 314.8 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.005264, allocations: 0 / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-06/0.005267, allocations: 0 / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.866e-05/0.005286, allocations: 79.28 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.005302, allocations: 75.28 kB / 0.6239 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.858e-05/0.005331, allocations: 25.7 kB / 0.6239 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.005357, allocations: 83.28 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.005376, allocations: 83.16 kB / 0.6241 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.005417, allocations: 166.5 kB / 0.6242 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.005434, allocations: 83.27 kB / 0.6243 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.931e-05/0.005474, allocations: 158.5 kB / 0.6245 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.005523, allocations: 75.28 kB / 0.6245 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.005542, allocations: 83.22 kB / 0.6246 GB, free: 6.73 MB / 0.5886 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.241e-05/0.005614, allocations: 257.4 kB / 0.6249 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.005647, allocations: 101 kB / 0.625 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.005683, allocations: 120.1 kB / 0.6251 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/0.00572, allocations: 180.2 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/0.005757, allocations: 176.3 kB / 0.6254 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/0.005797, allocations: 192.2 kB / 0.6256 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.005928, allocations: 372.3 kB / 0.626 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.005949, allocations: 105 kB / 0.6261 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.005972, allocations: 104.9 kB / 0.6262 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/0.006137, allocations: 176.3 kB / 0.6263 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.006177, allocations: 188.1 kB / 0.6265 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-05/0.006211, allocations: 180.2 kB / 0.6267 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.603e-05/0.006247, allocations: 184.2 kB / 0.6268 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.006329, allocations: 307.8 kB / 0.6271 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.006355, allocations: 108.9 kB / 0.6272 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.006398, allocations: 188.1 kB / 0.6274 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.006448, allocations: 105 kB / 0.6275 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.006489, allocations: 184.2 kB / 0.6277 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.00651, allocations: 101 kB / 0.6278 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.006538, allocations: 83.27 kB / 0.6279 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.006538, allocations: 0 / 0.6279 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002096/0.006748, allocations: 39.81 kB / 0.6279 GB, free: 3.148 MB / 0.5886 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.0005151/0.007263, allocations: 0.9595 MB / 0.6289 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.388e-05/0.007297, allocations: 11.94 kB / 0.6289 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007299, allocations: 0 / 0.6289 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.0073, allocations: 0 / 0.6289 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.007524, allocations: 462 kB / 0.6293 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.008267, allocations: 1.556 MB / 0.6308 GB, free: 116 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.008303, allocations: 55.34 kB / 0.6309 GB, free: 40 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.213e-06/0.00831, allocations: 4 kB / 0.6309 GB, free: 36 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.008329, allocations: 8.5 kB / 0.6309 GB, free: 24 kB / 0.5886 GB Notification: Performance of SimCode: time 2.9e-07/0.00833, allocations: 128 / 0.6309 GB, free: 24 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.0261, allocations: 2.532 MB / 0.6334 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.661, allocations: 3.688 kB / 0.6334 GB, free: 13.67 MB / 0.6042 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: 9.229988545179367] Failed to read output from testmodel.py, exit status != 0: 6.777373212389648 6.78588898 6.780313548 Calling exit ...