Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0007788/0.0007788, 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.000786/0.000786, 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.9162/0.9162, 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.7275/0.7275, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.833e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.0021/0.002128, allocations: 1.425 MB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004218, allocations: 2.394 MB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.00425, allocations: 0 / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.005728, allocations: 0.551 MB / 0.6223 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.005785, allocations: 19.91 kB / 0.6223 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.179e-06/0.00579, allocations: 3.938 kB / 0.6223 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.006035, allocations: 170.8 kB / 0.6225 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.006095, allocations: 16.53 kB / 0.6225 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.006184, allocations: 83.78 kB / 0.6226 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.006303, allocations: 63.77 kB / 0.6226 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.006318, allocations: 4 kB / 0.6226 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006612/0.006979, allocations: 403.5 kB / 0.623 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.007035, allocations: 35.78 kB / 0.623 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.007106, allocations: 63.84 kB / 0.6231 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.007549, allocations: 450.1 kB / 0.6235 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.007555, allocations: 0 / 0.6235 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.452e-06/0.007556, allocations: 0 / 0.6235 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.007561, allocations: 4 kB / 0.6235 GB, free: 8.086 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.0005741/0.008136, allocations: 488.8 kB / 0.624 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.008178, allocations: 9.469 kB / 0.624 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.008218, allocations: 110 kB / 0.6241 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/0.008317, allocations: 104.1 kB / 0.6242 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.008481, allocations: 247.8 kB / 0.6245 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.008522, allocations: 154.9 kB / 0.6246 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.008565, allocations: 158.9 kB / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.89e-05/0.008624, allocations: 105.5 kB / 0.6249 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.008644, allocations: 75.47 kB / 0.6249 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.008681, allocations: 154.9 kB / 0.6251 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.008717, allocations: 154.7 kB / 0.6252 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.139e-05/0.008758, allocations: 162.4 kB / 0.6254 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.009028, allocations: 0.5007 MB / 0.6259 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.43e-05/0.009092, allocations: 165.1 kB / 0.626 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.009116, allocations: 80.14 kB / 0.6261 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.009136, allocations: 75.28 kB / 0.6262 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.009168, allocations: 109.8 kB / 0.6263 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.009169, allocations: 0 / 0.6263 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001162/0.009285, allocations: 61.44 kB / 0.6263 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.00933, allocations: 134.6 kB / 0.6265 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.00963, allocations: 437.3 kB / 0.6269 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.00964, allocations: 25.7 kB / 0.6269 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.0097, allocations: 132.5 kB / 0.627 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.009703, allocations: 4 kB / 0.627 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.009764, allocations: 81.67 kB / 0.6271 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.009851, allocations: 346.8 kB / 0.6274 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.009932, allocations: 92.61 kB / 0.6275 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.01004, allocations: 173.8 kB / 0.6277 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.01025, allocations: 305.6 kB / 0.628 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01025, allocations: 0 / 0.628 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003694/0.01062, allocations: 333 kB / 0.6283 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01064, allocations: 8 kB / 0.6283 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.01065, allocations: 3.938 kB / 0.6283 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01066, allocations: 4 kB / 0.6283 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.01067, allocations: 3.938 kB / 0.6283 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.01067, allocations: 4 kB / 0.6283 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/0.01076, allocations: 43.52 kB / 0.6284 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01077, allocations: 4 kB / 0.6284 GB, free: 2.887 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.0001948/0.01097, allocations: 250.1 kB / 0.6286 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.01102, allocations: 128.8 kB / 0.6287 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.01106, allocations: 114.9 kB / 0.6288 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003313/0.01139, allocations: 180.2 kB / 0.629 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.195e-05/0.01144, allocations: 184.3 kB / 0.6292 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-05/0.01148, allocations: 192.2 kB / 0.6294 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.01167, allocations: 444.2 kB / 0.6298 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/0.01169, allocations: 105 kB / 0.6299 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.01172, allocations: 112.9 kB / 0.63 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-05/0.01176, allocations: 176.3 kB / 0.6302 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.0118, allocations: 184.2 kB / 0.6304 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.031e-05/0.01184, allocations: 184.3 kB / 0.6305 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.04e-05/0.01189, allocations: 180.2 kB / 0.6307 GB, free: 376 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.01199, allocations: 327.6 kB / 0.631 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.01205, allocations: 132.7 kB / 0.6311 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.0121, allocations: 176.3 kB / 0.6313 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.01218, allocations: 109 kB / 0.6314 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.01222, allocations: 184.1 kB / 0.6316 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.01225, allocations: 101 kB / 0.6317 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001819/0.01243, allocations: 283.1 kB / 0.632 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01243, allocations: 3.938 kB / 0.632 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002719/0.0127, allocations: 79.94 kB / 0.632 GB, free: 14.94 MB / 0.6042 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.0005222/0.01322, allocations: 0.9598 MB / 0.633 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.01338, allocations: 127.9 kB / 0.6331 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01338, allocations: 0 / 0.6331 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.01338, allocations: 0 / 0.6331 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01366, allocations: 471.2 kB / 0.6335 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.01596, allocations: 2.95 MB / 0.6364 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.332e-05/0.01605, allocations: 168.6 kB / 0.6366 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.131e-05/0.01607, allocations: 0 / 0.6366 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.01612, allocations: 56.48 kB / 0.6366 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.01612, allocations: 0 / 0.6366 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.03695, allocations: 7.206 MB / 0.6437 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/6.964, allocations: 2.031 kB / 0.6437 GB, free: 3.035 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med_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_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.759369981475174] Failed to read output from testmodel.py, exit status != 0: 7.0466568591073155 7.057352363 7.048192393 Calling exit ...