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.0007286/0.0007286, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007473/0.0007473, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8312/0.8312, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.6531/0.6531, allocations: 154.6 MB / 414.5 MB, free: 0.8359 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: translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 4 kB / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.477e-05, allocations: 2.844 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001473/0.001488, allocations: 1.412 MB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.002802, allocations: 1.752 MB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.002826, allocations: 0 / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006895/0.003516, allocations: 365.2 kB / 0.6227 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.592e-05/0.003551, allocations: 19.91 kB / 0.6227 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.003555, allocations: 0 / 0.6227 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.003718, allocations: 131.1 kB / 0.6228 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.003754, allocations: 5.688 kB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.003814, allocations: 59.81 kB / 0.6229 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.003896, allocations: 55.89 kB / 0.6229 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.00391, allocations: 4 kB / 0.623 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.004148, allocations: 179.8 kB / 0.6231 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.004186, allocations: 31.83 kB / 0.6232 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.00423, allocations: 47.92 kB / 0.6232 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.004514, allocations: 302.8 kB / 0.6235 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004516, allocations: 0 / 0.6235 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004517, allocations: 0 / 0.6235 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.004521, allocations: 0 / 0.6235 GB, free: 8.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.0004357/0.004956, allocations: 425.2 kB / 0.6239 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.00499, allocations: 9.469 kB / 0.6239 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.657e-05/0.005076, allocations: 100.1 kB / 0.624 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005216, allocations: 236.3 kB / 0.6242 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.005253, allocations: 150.9 kB / 0.6244 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.005291, allocations: 158.9 kB / 0.6245 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.331e-05/0.005334, allocations: 105.5 kB / 0.6246 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.005352, allocations: 79.41 kB / 0.6247 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.005386, allocations: 162.7 kB / 0.6249 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.005417, allocations: 154.5 kB / 0.625 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.005456, allocations: 150.6 kB / 0.6251 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.005665, allocations: 457.4 kB / 0.6256 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.005722, allocations: 173.1 kB / 0.6257 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.005743, allocations: 80.14 kB / 0.6258 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.005762, allocations: 75.28 kB / 0.6259 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.005789, allocations: 109.8 kB / 0.626 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.21e-07/0.00579, allocations: 0 / 0.626 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.574e-05/0.005885, allocations: 53.56 kB / 0.626 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.005925, allocations: 130.6 kB / 0.6262 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.006131, allocations: 329.6 kB / 0.6265 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.00614, allocations: 25.7 kB / 0.6265 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.006189, allocations: 116.5 kB / 0.6266 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.006191, allocations: 0 / 0.6266 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.006236, allocations: 65.66 kB / 0.6267 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.006314, allocations: 334.8 kB / 0.627 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.006369, allocations: 63.95 kB / 0.6271 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.006449, allocations: 117.7 kB / 0.6272 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.006596, allocations: 209.8 kB / 0.6274 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006598, allocations: 0 / 0.6274 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002462/0.006844, allocations: 241.4 kB / 0.6276 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.006854, allocations: 4 kB / 0.6276 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.00686, allocations: 4 kB / 0.6276 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.00687, allocations: 0 / 0.6276 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.487e-06/0.006873, allocations: 7.938 kB / 0.6276 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.006877, allocations: 0 / 0.6276 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.006942, allocations: 31.67 kB / 0.6277 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.006948, allocations: 4 kB / 0.6277 GB, free: 4.414 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.0001097/0.007058, allocations: 226 kB / 0.6279 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.007098, allocations: 121.1 kB / 0.628 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.007133, allocations: 129.5 kB / 0.6281 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/0.00717, allocations: 176.3 kB / 0.6283 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/0.007211, allocations: 188.2 kB / 0.6285 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.89e-05/0.00725, allocations: 180.2 kB / 0.6286 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.0074, allocations: 400.8 kB / 0.629 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/0.007424, allocations: 112.9 kB / 0.6291 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.007446, allocations: 101 kB / 0.6292 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-05/0.007481, allocations: 176.3 kB / 0.6294 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.007523, allocations: 188.2 kB / 0.6296 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.602e-05/0.007559, allocations: 176.3 kB / 0.6297 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.883e-05/0.007598, allocations: 192.3 kB / 0.6299 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.007687, allocations: 319.7 kB / 0.6302 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.007728, allocations: 132.8 kB / 0.6303 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.007783, allocations: 180.3 kB / 0.6305 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.007847, allocations: 104.9 kB / 0.6306 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.007889, allocations: 180.2 kB / 0.6308 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.007912, allocations: 109 kB / 0.6309 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001233/0.008035, allocations: 221.1 kB / 0.6311 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008035, allocations: 0 / 0.6311 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002144/0.00825, allocations: 59.94 kB / 0.6312 GB, free: 0.6328 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.0002081/0.008458, allocations: 278.4 kB / 0.6314 GB, free: 356 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.008571, allocations: 87.89 kB / 0.6315 GB, free: 268 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008572, allocations: 448 / 0.6315 GB, free: 268 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.008573, allocations: 0 / 0.6315 GB, free: 268 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.008826, allocations: 468.2 kB / 0.632 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.00916, allocations: 407.8 kB / 0.6323 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.009227, allocations: 126.9 kB / 0.6325 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.009242, allocations: 12.5 kB / 0.6325 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.009242, allocations: 0 / 0.6325 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.002458/0.0117, allocations: 2.431 MB / 0.6349 GB, free: 12.79 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.87667285464704] Failed to read output from testmodel.py, exit status != 0: 0.015706952661275864 0.022962910000000003 0.01696278 Calling exit ...