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.0007157/0.0007157, 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.0007799/0.0007799, 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.9623/0.9623, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7446/0.7446, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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 2.225e-06/2.225e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.771e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001819/0.001846, allocations: 1.274 MB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002941, allocations: 1.095 MB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.002972, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.002991, allocations: 4 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.003473, allocations: 115.5 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.003477, allocations: 4 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.003521, allocations: 3.938 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.003566, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.003598, allocations: 4 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.00365, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.003659, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.003861, allocations: 111.7 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.425e-06/0.003869, allocations: 0 / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.211e-05/0.003881, allocations: 0 / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.004073, allocations: 119.7 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004075, allocations: 0 / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004076, allocations: 4 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00408, allocations: 0 / 0.6208 GB, free: 10.91 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.0002955/0.004376, allocations: 274 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.004425, allocations: 12.03 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.004473, allocations: 106 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.00452, allocations: 76.22 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.004653, allocations: 185.1 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.004698, allocations: 158.9 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.004739, allocations: 150.9 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.533e-05/0.004804, allocations: 105.5 kB / 0.6218 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.004828, allocations: 83.41 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.004878, allocations: 158.5 kB / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.004917, allocations: 150.6 kB / 0.6222 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.004958, allocations: 150.6 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.005181, allocations: 421 kB / 0.6227 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.214e-05/0.005253, allocations: 173 kB / 0.6229 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.005278, allocations: 80.14 kB / 0.623 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.005301, allocations: 79.28 kB / 0.623 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.005334, allocations: 105.8 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.005335, allocations: 0 / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.953e-05/0.005394, allocations: 37.56 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.00544, allocations: 138.7 kB / 0.6233 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.005526, allocations: 93.84 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.005535, allocations: 25.7 kB / 0.6234 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.005559, allocations: 84.14 kB / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.005561, allocations: 0 / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.005579, allocations: 9.719 kB / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.005671, allocations: 310.8 kB / 0.6238 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.005677, allocations: 0 / 0.6238 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-06/0.005681, allocations: 4 kB / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.005707, allocations: 75.28 kB / 0.6239 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/0.00573, allocations: 83.41 kB / 0.624 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.931e-05/0.00577, allocations: 29.7 kB / 0.624 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.005802, allocations: 85.09 kB / 0.6241 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.005826, allocations: 79.22 kB / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/0.005874, allocations: 154.5 kB / 0.6243 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.921e-05/0.005894, allocations: 83.27 kB / 0.6244 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.592e-05/0.00593, allocations: 154.6 kB / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.005978, allocations: 79.22 kB / 0.6246 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.005998, allocations: 83.28 kB / 0.6247 GB, free: 6.707 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.611e-05/0.006084, allocations: 261.4 kB / 0.6249 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.006122, allocations: 112.9 kB / 0.625 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.006157, allocations: 116 kB / 0.6251 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/0.0062, allocations: 176.3 kB / 0.6253 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/0.006245, allocations: 184.2 kB / 0.6255 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-05/0.006288, allocations: 180.3 kB / 0.6256 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.006427, allocations: 372.3 kB / 0.626 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.006456, allocations: 104.9 kB / 0.6261 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.006479, allocations: 101 kB / 0.6262 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.357e-05/0.006522, allocations: 184.2 kB / 0.6264 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.00657, allocations: 188.2 kB / 0.6266 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.296e-05/0.006613, allocations: 180.2 kB / 0.6267 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-05/0.006656, allocations: 192.1 kB / 0.6269 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.006774, allocations: 303.8 kB / 0.6272 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.00681, allocations: 109 kB / 0.6273 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.006864, allocations: 184.2 kB / 0.6275 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.006917, allocations: 104.9 kB / 0.6276 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.006968, allocations: 176.3 kB / 0.6277 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.006996, allocations: 108.9 kB / 0.6279 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.007028, allocations: 79.27 kB / 0.6279 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007028, allocations: 0 / 0.6279 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002221/0.00725, allocations: 35.88 kB / 0.628 GB, free: 3.129 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.0006031/0.007854, allocations: 0.9515 MB / 0.6289 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.173e-05/0.007895, allocations: 7.875 kB / 0.6289 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007897, allocations: 0 / 0.6289 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.007898, allocations: 4 kB / 0.6289 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.008135, allocations: 456.1 kB / 0.6293 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/0.009004, allocations: 1.56 MB / 0.6309 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.009038, allocations: 59.47 kB / 0.6309 GB, free: 24 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.12e-05/0.009049, allocations: 4 kB / 0.6309 GB, free: 20 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.009071, allocations: 8.5 kB / 0.6309 GB, free: 8 kB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.009072, allocations: 0 / 0.6309 GB, free: 8 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02542, allocations: 2.522 MB / 0.6334 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.807, allocations: 12.64 kB / 0.6334 GB, free: 13.62 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.79472516849637] Failed to read output from testmodel.py, exit status != 0: 6.9207913428545 6.928438309 6.922726892 Calling exit ...