Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001402/0.001402, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 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.001538/0.001538, allocations: 161.7 kB / 22.76 MB, free: 1.676 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 1.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.271/1.271, allocations: 154.6 MB / 414.1 MB, free: 0.625 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.915e-06, allocations: 4 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.808e-05, allocations: 4.797 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002911/0.002949, allocations: 1.415 MB / 0.521 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.006963, allocations: 2.393 MB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.007001, allocations: 0 / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.008818, allocations: 0.5558 MB / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-05/0.008883, allocations: 19.84 kB / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 5.199e-06/0.008888, allocations: 0 / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.00919, allocations: 171.5 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.009244, allocations: 16.58 kB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.009375, allocations: 81.64 kB / 0.5241 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.009522, allocations: 59.83 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.009538, allocations: 0 / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009897/0.01053, allocations: 406.6 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.01059, allocations: 40.33 kB / 0.5246 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.0107, allocations: 59.8 kB / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.01146, allocations: 450.6 kB / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01146, allocations: 1.031 kB / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01146, allocations: 0 / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.01147, allocations: 0 / 0.5251 GB, free: 12.91 MB / 0.4948 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.0008809/0.01235, allocations: 493.9 kB / 0.5256 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01238, allocations: 8.531 kB / 0.5256 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.01257, allocations: 108 kB / 0.5257 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.01287, allocations: 253.6 kB / 0.5259 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/0.01295, allocations: 154.9 kB / 0.5261 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.01304, allocations: 154.9 kB / 0.5262 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.01313, allocations: 101.5 kB / 0.5263 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.01318, allocations: 79.47 kB / 0.5264 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/0.01326, allocations: 153.4 kB / 0.5265 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.807e-05/0.01334, allocations: 150.9 kB / 0.5267 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.01342, allocations: 158.4 kB / 0.5268 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.0139, allocations: 493.3 kB / 0.5273 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.01402, allocations: 173.1 kB / 0.5275 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.01407, allocations: 80.14 kB / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.01411, allocations: 77.66 kB / 0.5276 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/0.01418, allocations: 105.8 kB / 0.5277 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.01418, allocations: 0 / 0.5277 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0002022/0.01438, allocations: 61.45 kB / 0.5278 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.01446, allocations: 126.7 kB / 0.5279 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.01501, allocations: 437.2 kB / 0.5283 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.01504, allocations: 34.73 kB / 0.5284 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01515, allocations: 132.6 kB / 0.5285 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.01516, allocations: 0 / 0.5285 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.01526, allocations: 86.61 kB / 0.5286 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.01546, allocations: 338.8 kB / 0.5289 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.0156, allocations: 103.7 kB / 0.529 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.01582, allocations: 169.8 kB / 0.5291 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.0162, allocations: 301.6 kB / 0.5294 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.0162, allocations: 0 / 0.5294 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006866/0.01689, allocations: 365 kB / 0.5298 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01691, allocations: 4 kB / 0.5298 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01691, allocations: 0 / 0.5298 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.01693, allocations: 4 kB / 0.5298 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-06/0.01694, allocations: 6.75 kB / 0.5298 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01694, allocations: 0 / 0.5298 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.01711, allocations: 47.5 kB / 0.5298 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01712, allocations: 11.94 kB / 0.5299 GB, free: 7.84 MB / 0.4948 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.0002957/0.01742, allocations: 245 kB / 0.5301 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.01779, allocations: 128.8 kB / 0.5302 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.01787, allocations: 112.5 kB / 0.5303 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.563e-05/0.01797, allocations: 180.2 kB / 0.5305 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/0.01807, allocations: 188.3 kB / 0.5307 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/0.01817, allocations: 184.1 kB / 0.5308 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.01853, allocations: 422.1 kB / 0.5312 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-05/0.01859, allocations: 101 kB / 0.5313 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.01866, allocations: 113 kB / 0.5315 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.01876, allocations: 184.9 kB / 0.5316 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.01887, allocations: 184.2 kB / 0.5318 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-05/0.01897, allocations: 181.1 kB / 0.532 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.887e-05/0.01906, allocations: 180.2 kB / 0.5321 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.01929, allocations: 328.7 kB / 0.5325 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.0194, allocations: 132.7 kB / 0.5326 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.01953, allocations: 176.3 kB / 0.5328 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.0197, allocations: 114.3 kB / 0.5329 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.01981, allocations: 176.3 kB / 0.533 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.01986, allocations: 101 kB / 0.5331 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003495/0.02021, allocations: 283.1 kB / 0.5334 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02021, allocations: 0.6875 kB / 0.5334 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00044/0.02065, allocations: 83.88 kB / 0.5335 GB, free: 3.941 MB / 0.4948 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.0004748/0.02113, allocations: 322.7 kB / 0.5338 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.02136, allocations: 119.9 kB / 0.5339 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02136, allocations: 0.875 kB / 0.5339 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.02137, allocations: 0 / 0.5339 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.02187, allocations: 471.1 kB / 0.5344 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.02261, allocations: 0.4952 MB / 0.5348 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.02279, allocations: 163.1 kB / 0.535 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.02281, allocations: 7.984 kB / 0.535 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.02284, allocations: 9.031 kB / 0.535 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.02284, allocations: 1.969 kB / 0.535 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of Templates: time 0.007937/0.03078, allocations: 3.064 MB / 0.538 GB, free: 15.45 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9487326190574095]