Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.0008178/0.0008178, 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.0008454/0.0008454, allocations: 165.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.9607/0.9607, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.7334/0.7334, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.888e-05, allocations: 5.797 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001841/0.00186, allocations: 1.298 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.003666, allocations: 1.531 MB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.003707, allocations: 0 / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.003728, allocations: 0 / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.003971, allocations: 23.8 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.004498, allocations: 218.1 kB / 0.6211 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.00457, allocations: 23.88 kB / 0.6211 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.004612, allocations: 11.91 kB / 0.6211 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.004746, allocations: 19.98 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.004796, allocations: 7.984 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.004808, allocations: 3.938 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.005036, allocations: 143.8 kB / 0.6213 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.005052, allocations: 15.98 kB / 0.6213 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.005072, allocations: 7.984 kB / 0.6213 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.005304, allocations: 167.5 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005307, allocations: 0 / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005308, allocations: 0 / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005312, allocations: 0 / 0.6214 GB, free: 10.27 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.0004911/0.005804, allocations: 294 kB / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.005857, allocations: 9.469 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.005907, allocations: 110 kB / 0.6218 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.005964, allocations: 76.22 kB / 0.6219 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.006085, allocations: 193 kB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.006126, allocations: 158.9 kB / 0.6222 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.006171, allocations: 154.9 kB / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.531e-05/0.006226, allocations: 105.3 kB / 0.6225 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.006248, allocations: 75.28 kB / 0.6226 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.006289, allocations: 154.6 kB / 0.6227 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.006329, allocations: 154.5 kB / 0.6229 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.006374, allocations: 150.6 kB / 0.623 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.006596, allocations: 429 kB / 0.6234 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.006665, allocations: 173.1 kB / 0.6236 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.006689, allocations: 80.14 kB / 0.6237 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.006711, allocations: 83.22 kB / 0.6237 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.006744, allocations: 117.7 kB / 0.6238 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.72e-07/0.006745, allocations: 0 / 0.6238 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.982e-05/0.006805, allocations: 29.69 kB / 0.6239 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.006852, allocations: 130.7 kB / 0.624 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.006929, allocations: 97.86 kB / 0.6241 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.00694, allocations: 29.7 kB / 0.6241 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.006976, allocations: 88.12 kB / 0.6242 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.00698, allocations: 0 / 0.6242 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.007006, allocations: 17.72 kB / 0.6242 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.007084, allocations: 314.8 kB / 0.6245 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.007096, allocations: 7.984 kB / 0.6245 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.007151, allocations: 107.9 kB / 0.6246 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.007186, allocations: 22.58 kB / 0.6247 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.007189, allocations: 4 kB / 0.6247 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.00729, allocations: 49.62 kB / 0.6247 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.007302, allocations: 11.88 kB / 0.6247 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007308, allocations: 96 / 0.6247 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.007321, allocations: 8 kB / 0.6247 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.007384, allocations: 11.92 kB / 0.6247 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.00739, allocations: 0 / 0.6247 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.00748, allocations: 7.953 kB / 0.6247 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.00749, allocations: 8 kB / 0.6247 GB, free: 6.641 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.081e-05/0.007561, allocations: 190.1 kB / 0.6249 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.007596, allocations: 104.9 kB / 0.625 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.007629, allocations: 108.1 kB / 0.6251 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003136/0.007942, allocations: 184.3 kB / 0.6253 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-05/0.007987, allocations: 180.3 kB / 0.6255 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.13e-05/0.008028, allocations: 184.2 kB / 0.6257 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.008161, allocations: 372.3 kB / 0.626 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.008187, allocations: 112.9 kB / 0.6261 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.008211, allocations: 101 kB / 0.6262 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.516e-05/0.008256, allocations: 180.2 kB / 0.6264 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.008299, allocations: 184.2 kB / 0.6266 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.169e-05/0.00834, allocations: 176.3 kB / 0.6267 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.024e-05/0.008391, allocations: 184.2 kB / 0.6269 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.008493, allocations: 311.8 kB / 0.6272 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.00852, allocations: 101 kB / 0.6273 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.008578, allocations: 184.2 kB / 0.6275 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.008632, allocations: 112.9 kB / 0.6276 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.00869, allocations: 180.3 kB / 0.6278 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.008724, allocations: 104.9 kB / 0.6279 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.008767, allocations: 83.28 kB / 0.6279 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008767, allocations: 3.938 kB / 0.6279 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002519/0.009019, allocations: 51.8 kB / 0.628 GB, free: 3.117 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.000624/0.009643, allocations: 0.9876 MB / 0.629 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.009723, allocations: 15.94 kB / 0.629 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.009726, allocations: 0 / 0.629 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.009727, allocations: 4 kB / 0.629 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.009971, allocations: 455.7 kB / 0.6294 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.01077, allocations: 1.345 MB / 0.6307 GB, free: 252 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.01081, allocations: 63.28 kB / 0.6308 GB, free: 168 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.01083, allocations: 4 kB / 0.6308 GB, free: 164 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.01086, allocations: 12.75 kB / 0.6308 GB, free: 148 kB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.01086, allocations: 4 kB / 0.6308 GB, free: 144 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.02864, allocations: 3.286 MB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.086, allocations: 3.719 kB / 0.634 GB, free: 13.05 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_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_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.058198243379593] Failed to read output from testmodel.py, exit status != 0: 7.205222737975419 7.2176189 7.210365734 Calling exit ...