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/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.0009113/0.0009113, 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.001004/0.001004, allocations: 169.9 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.8757/0.8757, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7225/0.7225, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.375e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001885/0.001909, allocations: 1.273 MB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.002974, allocations: 1.095 MB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.002999, allocations: 0 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.003016, allocations: 0 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.003476, allocations: 111.5 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.00348, allocations: 0 / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.114e-05/0.003521, allocations: 7.938 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.003565, allocations: 3.984 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.00359, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.003637, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.003647, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.003853, allocations: 119.7 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.805e-06/0.003861, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.302e-05/0.003874, allocations: 0 / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.004062, allocations: 123.7 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004065, allocations: 0 / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.352e-06/0.004066, allocations: 0 / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.004071, allocations: 0 / 0.6208 GB, free: 10.87 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.0002837/0.004354, allocations: 272.1 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.004398, allocations: 8.031 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.004442, allocations: 106 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.004489, allocations: 76.22 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.004607, allocations: 193.1 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.00465, allocations: 154.9 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.004687, allocations: 150.9 kB / 0.6217 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.992e-05/0.004747, allocations: 109.5 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.004779, allocations: 79.41 kB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.004822, allocations: 154.5 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.004861, allocations: 150.6 kB / 0.6222 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.004907, allocations: 154.6 kB / 0.6223 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.005133, allocations: 413 kB / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.455e-05/0.005208, allocations: 173.1 kB / 0.6229 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.005237, allocations: 92.06 kB / 0.623 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.00526, allocations: 75.28 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.005296, allocations: 105.8 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.005297, allocations: 4 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.999e-05/0.005367, allocations: 37.58 kB / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.005417, allocations: 126.7 kB / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.005504, allocations: 93.86 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.005512, allocations: 25.7 kB / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.005534, allocations: 80.14 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.005536, allocations: 128 / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.005555, allocations: 21.7 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.005635, allocations: 314.8 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.00564, allocations: 0 / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.005643, allocations: 0 / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.043e-05/0.005664, allocations: 75.28 kB / 0.6239 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.005681, allocations: 75.28 kB / 0.624 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.294e-05/0.005724, allocations: 29.7 kB / 0.624 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.005753, allocations: 83.22 kB / 0.6241 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.005775, allocations: 87.2 kB / 0.6241 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/0.005819, allocations: 150.6 kB / 0.6243 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.005837, allocations: 87.25 kB / 0.6244 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.455e-05/0.005871, allocations: 158.6 kB / 0.6245 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.005926, allocations: 83.22 kB / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.005944, allocations: 75.28 kB / 0.6247 GB, free: 6.676 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 8.668e-05/0.00603, allocations: 261.4 kB / 0.6249 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.006067, allocations: 104.9 kB / 0.625 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.0061, allocations: 116 kB / 0.6251 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/0.006143, allocations: 180.3 kB / 0.6253 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-05/0.006185, allocations: 184.2 kB / 0.6255 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/0.006224, allocations: 176.3 kB / 0.6256 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.006364, allocations: 376.3 kB / 0.626 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/0.006389, allocations: 104.9 kB / 0.6261 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.006414, allocations: 109 kB / 0.6262 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-05/0.006456, allocations: 184.2 kB / 0.6264 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.006498, allocations: 180.2 kB / 0.6266 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.255e-05/0.006541, allocations: 184.2 kB / 0.6267 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-05/0.006581, allocations: 188.1 kB / 0.6269 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.982e-05/0.006681, allocations: 307.8 kB / 0.6272 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.006709, allocations: 105 kB / 0.6273 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.006759, allocations: 184.2 kB / 0.6275 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.00681, allocations: 104.9 kB / 0.6276 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.006856, allocations: 184.3 kB / 0.6278 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.006881, allocations: 104.9 kB / 0.6279 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.006915, allocations: 83.28 kB / 0.6279 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006915, allocations: 0 / 0.6279 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002408/0.007155, allocations: 35.86 kB / 0.628 GB, free: 3.094 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.0006383/0.007794, allocations: 0.9476 MB / 0.6289 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.3e-05/0.007837, allocations: 7.875 kB / 0.6289 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.007839, allocations: 0 / 0.6289 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.00784, allocations: 4 kB / 0.6289 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.00809, allocations: 459.7 kB / 0.6293 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.009014, allocations: 1.552 MB / 0.6309 GB, free: 76 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.009052, allocations: 55.36 kB / 0.6309 GB, free: 0 / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.269e-05/0.009065, allocations: 0 / 0.6309 GB, free: 0 / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.009104, allocations: 12.55 kB / 0.6309 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of SimCode: time 6.12e-07/0.009104, allocations: 0 / 0.6309 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.02567, allocations: 2.527 MB / 0.6334 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.838, allocations: 8.578 kB / 0.6334 GB, free: 13.59 MB / 0.6042 GB " [Timeout remaining time 653] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.494363754987717] Failed to read output from testmodel.py, exit status != 0: 6.954486350528896 6.963872173 6.957892842 Calling exit ...