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.0009308/0.0009308, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001087/0.001087, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9278/0.9278, 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.7536/0.7536, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.743e-06/1.743e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.166e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001656/0.001678, allocations: 1.267 MB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.002776, allocations: 1.091 MB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.0028, allocations: 0 / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.002817, allocations: 0 / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.003231, allocations: 119.5 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.003235, allocations: 0 / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.00328, allocations: 7.922 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.003324, allocations: 4 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.003357, allocations: 4 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.003409, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.003419, allocations: 3.938 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.003617, allocations: 99.86 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.003629, allocations: 3.938 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.003645, allocations: 0 / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.003861, allocations: 119.7 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.003867, allocations: 4 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/0.003869, allocations: 0 / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.003876, allocations: 0 / 0.6207 GB, free: 11.02 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.0003459/0.004222, allocations: 278 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.004276, allocations: 13.47 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.004331, allocations: 106 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.004391, allocations: 80.2 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.004542, allocations: 185 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.004595, allocations: 154.9 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.004635, allocations: 150.9 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.2e-05/0.004697, allocations: 105.5 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.004722, allocations: 75.47 kB / 0.6218 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.004772, allocations: 162.5 kB / 0.622 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.004816, allocations: 154.6 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.004865, allocations: 150.6 kB / 0.6223 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.005116, allocations: 425 kB / 0.6227 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.0052, allocations: 165.1 kB / 0.6228 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.005233, allocations: 80.14 kB / 0.6229 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.00526, allocations: 79.28 kB / 0.623 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.005303, allocations: 105.8 kB / 0.6231 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.005304, allocations: 0 / 0.6231 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 8.614e-05/0.00539, allocations: 41.56 kB / 0.6231 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.00545, allocations: 126.7 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.005568, allocations: 101.8 kB / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.005578, allocations: 25.7 kB / 0.6234 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.005609, allocations: 84.14 kB / 0.6234 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.005611, allocations: 0 / 0.6234 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.005631, allocations: 13.66 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.005728, allocations: 314.8 kB / 0.6237 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.005734, allocations: 0 / 0.6237 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.005739, allocations: 0 / 0.6237 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.006051, allocations: 79.28 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.006069, allocations: 75.28 kB / 0.6239 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.504e-05/0.006114, allocations: 33.75 kB / 0.6239 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.006145, allocations: 87.28 kB / 0.624 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.006167, allocations: 79.22 kB / 0.6241 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.503e-05/0.006212, allocations: 150.6 kB / 0.6242 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.951e-05/0.006232, allocations: 83.22 kB / 0.6243 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.549e-05/0.006267, allocations: 154.6 kB / 0.6245 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.006322, allocations: 79.22 kB / 0.6245 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.006343, allocations: 87.27 kB / 0.6246 GB, free: 6.812 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 9.079e-05/0.006434, allocations: 257.4 kB / 0.6249 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.006476, allocations: 101 kB / 0.625 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.006522, allocations: 116 kB / 0.6251 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.006562, allocations: 180.3 kB / 0.6252 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-05/0.006609, allocations: 188.2 kB / 0.6254 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/0.006649, allocations: 180.3 kB / 0.6256 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.006793, allocations: 368.3 kB / 0.6259 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/0.006816, allocations: 104.9 kB / 0.626 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.00684, allocations: 105 kB / 0.6261 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.315e-05/0.006883, allocations: 184.2 kB / 0.6263 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.006928, allocations: 184.2 kB / 0.6265 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.226e-05/0.006971, allocations: 180.2 kB / 0.6267 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.372e-05/0.007014, allocations: 176.3 kB / 0.6268 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.007124, allocations: 323.7 kB / 0.6271 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.007156, allocations: 101 kB / 0.6272 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.007213, allocations: 188.1 kB / 0.6274 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.007268, allocations: 101 kB / 0.6275 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.007319, allocations: 180.2 kB / 0.6277 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.007346, allocations: 104.9 kB / 0.6278 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.007397, allocations: 83.28 kB / 0.6279 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007397, allocations: 0 / 0.6279 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002445/0.007642, allocations: 43.73 kB / 0.6279 GB, free: 3.234 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.0006394/0.008281, allocations: 0.9664 MB / 0.6289 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.283e-05/0.008324, allocations: 7.875 kB / 0.6289 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.008326, allocations: 0 / 0.6289 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.287e-06/0.008329, allocations: 4 kB / 0.6289 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.00859, allocations: 455.7 kB / 0.6293 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.009523, allocations: 1.556 MB / 0.6308 GB, free: 200 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.009559, allocations: 51.36 kB / 0.6309 GB, free: 128 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.009569, allocations: 4 kB / 0.6309 GB, free: 124 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.009597, allocations: 12.62 kB / 0.6309 GB, free: 108 kB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.009598, allocations: 0 / 0.6309 GB, free: 108 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.02979, allocations: 2.531 MB / 0.6334 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.209, allocations: 7.75 kB / 0.6334 GB, free: 13.75 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.179157519713044] Failed to read output from testmodel.py, exit status != 0: 7.3302731374278665 7.340388093 7.334766794 Calling exit ...