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.0007817/0.0007817, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008856/0.0008856, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9289/0.9289, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.7798/0.7798, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.72 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.476, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001641/0.4777, allocations: 1.427 MB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.4796, allocations: 2.4 MB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.4796, allocations: 0 / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009614/0.4806, allocations: 0.5442 MB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.4806, allocations: 22.31 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.4806, allocations: 1.094 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.4808, allocations: 162.9 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.4809, allocations: 11.09 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.4809, allocations: 63.5 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.481, allocations: 79.12 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.481, allocations: 2.656 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.4816, allocations: 403.3 kB / 0.8228 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.4816, allocations: 41.56 kB / 0.8228 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.4817, allocations: 76.98 kB / 0.8229 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.4821, allocations: 441 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4821, allocations: 0 / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.554e-06/0.4821, allocations: 0.5625 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.4822, allocations: 1.031 kB / 0.8233 GB, free: 13.75 MB / 0.6198 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.0005286/0.4827, allocations: 493.8 kB / 0.8238 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4827, allocations: 8.219 kB / 0.8238 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.4828, allocations: 110.5 kB / 0.8239 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.4829, allocations: 105.4 kB / 0.824 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.483, allocations: 247.2 kB / 0.8242 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.4831, allocations: 153.1 kB / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.4831, allocations: 153.9 kB / 0.8245 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.197e-05/0.4831, allocations: 110.6 kB / 0.8246 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.4832, allocations: 83.81 kB / 0.8247 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.4832, allocations: 155.8 kB / 0.8248 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.4832, allocations: 155.6 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.4833, allocations: 152.5 kB / 0.8251 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.4836, allocations: 0.4997 MB / 0.8256 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.567e-05/0.4836, allocations: 174.9 kB / 0.8258 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.4836, allocations: 81.36 kB / 0.8259 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4837, allocations: 77.25 kB / 0.8259 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4837, allocations: 107 kB / 0.826 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4837, allocations: 0 / 0.826 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001177/0.4838, allocations: 59.28 kB / 0.8261 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.4839, allocations: 131.9 kB / 0.8262 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.4842, allocations: 437.2 kB / 0.8266 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.4842, allocations: 29.7 kB / 0.8267 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.4843, allocations: 131 kB / 0.8268 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.4843, allocations: 0 / 0.8268 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.201e-05/0.4844, allocations: 90.33 kB / 0.8269 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.4845, allocations: 340.1 kB / 0.8272 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.4846, allocations: 104.8 kB / 0.8273 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4847, allocations: 164.2 kB / 0.8275 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.485, allocations: 305.3 kB / 0.8278 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.485, allocations: 0 / 0.8278 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00035/0.4853, allocations: 333 kB / 0.8281 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4853, allocations: 8.812 kB / 0.8281 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4853, allocations: 3.891 kB / 0.8281 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4853, allocations: 0 / 0.8281 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.4853, allocations: 7.078 kB / 0.8281 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.4853, allocations: 1.984 kB / 0.8281 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.514e-05/0.4854, allocations: 44.77 kB / 0.8281 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4854, allocations: 5.031 kB / 0.8281 GB, free: 9.633 MB / 0.6198 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.0001517/0.4856, allocations: 247.8 kB / 0.8284 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.4856, allocations: 140.9 kB / 0.8285 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.4857, allocations: 120.5 kB / 0.8286 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/0.4857, allocations: 178.2 kB / 0.8288 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-05/0.4858, allocations: 182 kB / 0.829 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-05/0.4858, allocations: 178 kB / 0.8291 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.486, allocations: 452.1 kB / 0.8296 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/0.486, allocations: 101.6 kB / 0.8297 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.4861, allocations: 103.5 kB / 0.8298 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-05/0.4861, allocations: 186 kB / 0.8299 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.4861, allocations: 178 kB / 0.8301 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.92e-05/0.4862, allocations: 183.2 kB / 0.8303 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-05/0.4862, allocations: 186.5 kB / 0.8305 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.827e-05/0.4863, allocations: 324 kB / 0.8308 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.4864, allocations: 126.9 kB / 0.8309 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.4864, allocations: 194.8 kB / 0.8311 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.4865, allocations: 104 kB / 0.8312 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.4865, allocations: 178.2 kB / 0.8314 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.4866, allocations: 106.5 kB / 0.8315 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002064/0.4868, allocations: 281.3 kB / 0.8317 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4868, allocations: 0 / 0.8317 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002589/0.487, allocations: 82.2 kB / 0.8318 GB, free: 6.066 MB / 0.6198 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.0004525/0.4875, allocations: 0.9643 MB / 0.8327 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.4876, allocations: 122.5 kB / 0.8329 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4876, allocations: 0 / 0.8329 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.4877, allocations: 1.844 kB / 0.8329 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.4879, allocations: 463.9 kB / 0.8333 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.4905, allocations: 2.944 MB / 0.8362 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.4906, allocations: 168.6 kB / 0.8363 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.4907, allocations: 3.906 kB / 0.8363 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.4907, allocations: 51.91 kB / 0.8364 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.4907, allocations: 0 / 0.8364 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.5106, allocations: 7.03 MB / 0.8433 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/7.309, allocations: 5.656 kB / 0.8433 GB, free: 0.5117 MB / 0.6198 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: 10.229241725988686] Failed to read output from testmodel.py, exit status != 0: 7.3885278212837875 7.400552059 6.916349362 Calling exit ...