Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001182/0.001182, 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.001414/0.001414, 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.9186/0.9186, allocations: 177.2 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.7304/0.7304, allocations: 154.5 MB / 413.7 MB, free: 0.7969 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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.327e-05, allocations: 3.188 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002209/0.002232, allocations: 1.41 MB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.003836, allocations: 1.756 MB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.003866, allocations: 0 / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.005086, allocations: 365.8 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.005132, allocations: 15.86 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.599e-06/0.005136, allocations: 0 / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.005324, allocations: 139 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.005369, allocations: 5.688 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.005437, allocations: 63.86 kB / 0.6217 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.005535, allocations: 51.84 kB / 0.6217 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005551, allocations: 0 / 0.6217 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.00589, allocations: 171.9 kB / 0.6219 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.005945, allocations: 35.84 kB / 0.6219 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.006011, allocations: 47.86 kB / 0.622 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.006345, allocations: 306.8 kB / 0.6223 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.006348, allocations: 4 kB / 0.6223 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00635, allocations: 0 / 0.6223 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.006354, allocations: 0 / 0.6223 GB, free: 9.375 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.0005873/0.006942, allocations: 413.3 kB / 0.6227 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.006982, allocations: 9.469 kB / 0.6227 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.007026, allocations: 106 kB / 0.6228 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.007136, allocations: 108.1 kB / 0.6229 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.007296, allocations: 232.3 kB / 0.6231 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.007335, allocations: 150.9 kB / 0.6232 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.007378, allocations: 158.9 kB / 0.6234 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.564e-05/0.007434, allocations: 105.5 kB / 0.6235 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.007455, allocations: 75.47 kB / 0.6236 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.007496, allocations: 162.5 kB / 0.6237 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.284e-05/0.007549, allocations: 154.6 kB / 0.6239 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/0.007589, allocations: 154.5 kB / 0.624 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.007857, allocations: 476.9 kB / 0.6245 GB, free: 7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.007922, allocations: 165.1 kB / 0.6246 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.007951, allocations: 92.06 kB / 0.6247 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.007972, allocations: 75.28 kB / 0.6248 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.008005, allocations: 105.8 kB / 0.6249 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.008006, allocations: 4 kB / 0.6249 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001279/0.008133, allocations: 57.44 kB / 0.6249 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.008182, allocations: 126.7 kB / 0.6251 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.008442, allocations: 325.6 kB / 0.6254 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.008457, allocations: 29.7 kB / 0.6254 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.008521, allocations: 116.5 kB / 0.6255 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/0.008526, allocations: 4 kB / 0.6255 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.008583, allocations: 61.67 kB / 0.6256 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.008677, allocations: 330.8 kB / 0.6259 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.162e-05/0.008748, allocations: 59.95 kB / 0.6259 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.008854, allocations: 129.7 kB / 0.6261 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.009043, allocations: 201.9 kB / 0.6263 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.009046, allocations: 0 / 0.6263 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000356/0.009402, allocations: 237.4 kB / 0.6265 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.009432, allocations: 10.19 kB / 0.6265 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.009445, allocations: 3.938 kB / 0.6265 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.009465, allocations: 4 kB / 0.6265 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/0.009467, allocations: 3.938 kB / 0.6265 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.009475, allocations: 4 kB / 0.6265 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.009586, allocations: 27.73 kB / 0.6265 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.009598, allocations: 4.219 kB / 0.6265 GB, free: 4.742 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0002724/0.00987, allocations: 226.1 kB / 0.6268 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.009933, allocations: 124.8 kB / 0.6269 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.009993, allocations: 121.5 kB / 0.627 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.159e-05/0.01005, allocations: 184.3 kB / 0.6272 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.489e-05/0.01011, allocations: 180.2 kB / 0.6273 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/0.01017, allocations: 180.3 kB / 0.6275 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01038, allocations: 424.2 kB / 0.6279 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/0.01041, allocations: 101 kB / 0.628 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.01044, allocations: 105 kB / 0.6281 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.166e-05/0.01049, allocations: 184.2 kB / 0.6283 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.01055, allocations: 180.2 kB / 0.6285 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.234e-05/0.0106, allocations: 196.1 kB / 0.6286 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.432e-05/0.01064, allocations: 180.4 kB / 0.6288 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.01076, allocations: 319.7 kB / 0.6291 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.01081, allocations: 120.8 kB / 0.6292 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.01087, allocations: 192.1 kB / 0.6294 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.01095, allocations: 109 kB / 0.6295 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.011, allocations: 180.2 kB / 0.6297 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.01102, allocations: 113 kB / 0.6298 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001412/0.01117, allocations: 213.2 kB / 0.63 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 0 / 0.63 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002674/0.01143, allocations: 71.86 kB / 0.6301 GB, free: 0.918 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.0004768/0.01191, allocations: 0.9102 MB / 0.631 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01205, allocations: 91.78 kB / 0.6311 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01205, allocations: 0 / 0.6311 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.01206, allocations: 4 kB / 0.6311 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.01232, allocations: 456.2 kB / 0.6315 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.01446, allocations: 2.452 MB / 0.6339 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.01456, allocations: 135.3 kB / 0.634 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.717e-05/0.01457, allocations: 7.906 kB / 0.634 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.01463, allocations: 36.48 kB / 0.6341 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.01463, allocations: 0 / 0.6341 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.0354, allocations: 5.575 MB / 0.6395 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.964, allocations: 2.031 kB / 0.6395 GB, free: 7.266 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low_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_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.790645642206073] Failed to read output from testmodel.py, exit status != 0: 7.047987042926252 7.058711058 7.050500201 Calling exit ...