Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001239/0.001239, allocations: 82.02 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001378/0.001378, allocations: 169.3 kB / 22.45 MB, free: 4.984 MB / 14.72 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.406/1.406, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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-531:686: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-531:694: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.179/1.179, allocations: 154.7 MB / 413.9 MB, free: 5.141 MB / 382.1 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.567e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002456/0.002482, allocations: 1.403 MB / 0.6201 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.004778, allocations: 1.748 MB / 0.6218 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.004808, allocations: 4 kB / 0.6218 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009725/0.005781, allocations: 349.2 kB / 0.6221 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.005831, allocations: 15.91 kB / 0.6222 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.005835, allocations: 0 / 0.6222 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.006065, allocations: 127.2 kB / 0.6223 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.006113, allocations: 13.62 kB / 0.6223 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.0062, allocations: 63.81 kB / 0.6224 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.006316, allocations: 51.89 kB / 0.6224 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.006336, allocations: 4 kB / 0.6224 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.006689, allocations: 183.8 kB / 0.6226 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.00674, allocations: 31.84 kB / 0.6226 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.006802, allocations: 43.86 kB / 0.6227 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.007217, allocations: 299 kB / 0.6229 GB, free: 236 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.007219, allocations: 0 / 0.6229 GB, free: 236 kB / 0.5294 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00722, allocations: 3.938 kB / 0.6229 GB, free: 232 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.007226, allocations: 7.938 kB / 0.623 GB, free: 224 kB / 0.5294 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.0006839/0.00791, allocations: 421.2 kB / 0.6234 GB, free: 15.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.007944, allocations: 8.031 kB / 0.6234 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.008094, allocations: 96.12 kB / 0.6235 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.008313, allocations: 236.2 kB / 0.6237 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.008388, allocations: 162.9 kB / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.008461, allocations: 154.9 kB / 0.624 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.757e-05/0.008529, allocations: 101.5 kB / 0.6241 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.008563, allocations: 75.47 kB / 0.6241 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.008629, allocations: 158.7 kB / 0.6243 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.008691, allocations: 150.6 kB / 0.6244 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.008752, allocations: 154.6 kB / 0.6246 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.009083, allocations: 465.4 kB / 0.625 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.009182, allocations: 169.1 kB / 0.6252 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.00922, allocations: 84.14 kB / 0.6253 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.009261, allocations: 79.28 kB / 0.6254 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.009317, allocations: 109.8 kB / 0.6255 GB, free: 13.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.009318, allocations: 0 / 0.6255 GB, free: 13.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001756/0.009494, allocations: 57.48 kB / 0.6255 GB, free: 13.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.009558, allocations: 134.6 kB / 0.6256 GB, free: 13.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.009896, allocations: 321.7 kB / 0.6259 GB, free: 13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.009912, allocations: 25.7 kB / 0.626 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.009987, allocations: 112.6 kB / 0.6261 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.009989, allocations: 0 / 0.6261 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.01006, allocations: 61.69 kB / 0.6261 GB, free: 12.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.0102, allocations: 334.8 kB / 0.6265 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.01029, allocations: 63.95 kB / 0.6265 GB, free: 12.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.01042, allocations: 114 kB / 0.6266 GB, free: 12.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.01066, allocations: 209.8 kB / 0.6268 GB, free: 12.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01066, allocations: 0 / 0.6268 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004098/0.01107, allocations: 237.3 kB / 0.6271 GB, free: 11.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01109, allocations: 7.984 kB / 0.6271 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01109, allocations: 0 / 0.6271 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01111, allocations: 4 kB / 0.6271 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-06/0.01111, allocations: 11.88 kB / 0.6271 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01112, allocations: 0 / 0.6271 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.01123, allocations: 35.67 kB / 0.6271 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.01124, allocations: 4 kB / 0.6271 GB, free: 11.73 MB / 0.545 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.0002037/0.01144, allocations: 222.3 kB / 0.6273 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.01153, allocations: 132.8 kB / 0.6275 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.01159, allocations: 121.5 kB / 0.6276 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.227e-05/0.01166, allocations: 184.2 kB / 0.6277 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.768e-05/0.01174, allocations: 188.1 kB / 0.6279 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.781e-05/0.01181, allocations: 176.3 kB / 0.6281 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.01206, allocations: 400.8 kB / 0.6285 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/0.01211, allocations: 109 kB / 0.6286 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.01216, allocations: 105 kB / 0.6287 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.315e-05/0.01223, allocations: 180.2 kB / 0.6288 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/0.0123, allocations: 176.5 kB / 0.629 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.319e-05/0.01238, allocations: 184.2 kB / 0.6292 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.259e-05/0.01245, allocations: 184.3 kB / 0.6294 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.01262, allocations: 327.6 kB / 0.6297 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.01269, allocations: 116.8 kB / 0.6298 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-05/0.01279, allocations: 188.2 kB / 0.63 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01291, allocations: 101 kB / 0.6301 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.01298, allocations: 180.2 kB / 0.6302 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.01303, allocations: 116.9 kB / 0.6304 GB, free: 8.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002016/0.01323, allocations: 213.2 kB / 0.6306 GB, free: 8.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01324, allocations: 4 kB / 0.6306 GB, free: 8.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003262/0.01356, allocations: 59.94 kB / 0.6306 GB, free: 7.961 MB / 0.545 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.0003138/0.01388, allocations: 270.4 kB / 0.6309 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.01403, allocations: 79.89 kB / 0.6309 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01404, allocations: 4.438 kB / 0.631 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.01404, allocations: 4 kB / 0.631 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.01447, allocations: 456.2 kB / 0.6314 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.01502, allocations: 393.9 kB / 0.6318 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.01516, allocations: 122.9 kB / 0.6319 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.01517, allocations: 7.984 kB / 0.6319 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.0152, allocations: 12.5 kB / 0.6319 GB, free: 6.578 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.0152, allocations: 0 / 0.6319 GB, free: 6.578 MB / 0.545 GB Notification: Performance of Templates: time 0.005832/0.02103, allocations: 2.282 MB / 0.6341 GB, free: 4.328 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.702583525329828] Failed to read output from testmodel.py, exit status != 0: 0.02916822023689747 0.042513721000000004 0.032503646000000004 Calling exit ...